From b4b417658fb1cd70962dcee5a0a27d0e26f31ebb Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Wed, 18 Dec 2024 09:22:06 -0800 Subject: [PATCH] Update ssh cli api error messages --- cli/packages/cmd/ssh.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/packages/cmd/ssh.go b/cli/packages/cmd/ssh.go index d611e3b8d..b97d6572f 100644 --- a/cli/packages/cmd/ssh.go +++ b/cli/packages/cmd/ssh.go @@ -261,7 +261,7 @@ func issueCredentials(cmd *cobra.Command, args []string) { }) if err != nil { - util.HandleError(err, "To issue SSH credentials") + util.HandleError(err, "Failed to issue SSH credentials") } // If signedKeyPath wasn't set in the directory scenario, set it now @@ -488,7 +488,7 @@ func signKey(cmd *cobra.Command, args []string) { }) if err != nil { - util.HandleError(err, "To sign a SSH public key") + util.HandleError(err, "Failed to sign SSH public key") } err = writeToFile(signedKeyPath, creds.SignedKey, 0644)