mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
chore: remove unnecessary print in sshclient.go
This commit is contained in:
parent
f25892ba40
commit
d66287fcc6
@ -66,7 +66,6 @@ func createDummySigner() ([]ssh.Signer, error) {
|
||||
// file, the library can still try again with a new key.
|
||||
func createPublicKeyCallback(identityFiles *[]string, passphrase string) func() ([]ssh.Signer, error) {
|
||||
return func() ([]ssh.Signer, error) {
|
||||
log.Printf("this should happen twice\n")
|
||||
if len(*identityFiles) == 0 {
|
||||
// skip this key and try with the next
|
||||
return createDummySigner()
|
||||
|
Loading…
Reference in New Issue
Block a user