Skip to content

Commit

Permalink
Merge pull request #314 from pmav99/master
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
xetys authored Mar 2, 2020
2 parents 75aa60b + f679b55 commit 3a5c099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/ssh_key_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Note: the private key is never uploaded to any server at any time.`,
}
// if the key is in the local app config print a message and return
if bytes.Equal(pkey.Marshal(), localPkey.Marshal()) {
fmt.Printf("SSH key does already exists in your config as %s\n", sshKey.Name)
fmt.Printf("SSH key does already exist in your config as %s\n", sshKey.Name)
return
}
}
Expand All @@ -96,7 +96,7 @@ Note: the private key is never uploaded to any server at any time.`,
log.Fatalln(err)
}
if bytes.Equal(pkey.Marshal(), hetznerPkey.Marshal()) {
fmt.Printf("SSH key does already on hetzner as '%s'\n", sshKeyHetzner.Name)
fmt.Printf("SSH key does already exist on hetzner as '%s'\n", sshKeyHetzner.Name)
fmt.Printf("SSH key will be added to your config as '%s'\n", sshKeyHetzner.Name)
// We replace the failed request response with the fetched sshkey that has the same public key
sshKey = sshKeyHetzner
Expand Down

0 comments on commit 3a5c099

Please sign in to comment.