linter appeasement

This commit is contained in:
vilmibm 2022-07-26 16:45:28 -05:00
parent f7d5c5f725
commit e1238015f5

View file

@ -99,7 +99,9 @@ func Login(opts *LoginOptions) error {
if sshChoice {
passphrase, err := opts.Prompter.Password(
"Enter a passphrase for your new SSH key (Optional)")
if err != nil {
return err
}
keyPair, err := opts.sshContext.GenerateSSHKey("id_ed25519", passphrase)
if err != nil {
return err