mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Update ssh cli api error messages
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user