chore: remove unnecessary print in sshclient.go

This commit is contained in:
Sylvia Crowe 2024-02-08 22:45:52 -08:00
parent f25892ba40
commit d66287fcc6

View File

@ -66,7 +66,6 @@ func createDummySigner() ([]ssh.Signer, error) {
// file, the library can still try again with a new key. // file, the library can still try again with a new key.
func createPublicKeyCallback(identityFiles *[]string, passphrase string) func() ([]ssh.Signer, error) { func createPublicKeyCallback(identityFiles *[]string, passphrase string) func() ([]ssh.Signer, error) {
return func() ([]ssh.Signer, error) { return func() ([]ssh.Signer, error) {
log.Printf("this should happen twice\n")
if len(*identityFiles) == 0 { if len(*identityFiles) == 0 {
// skip this key and try with the next // skip this key and try with the next
return createDummySigner() return createDummySigner()