etcd: ssh: Improve logging to be less misleading

This commit is contained in:
James Shubin
2025-06-02 15:07:13 -04:00
parent 1caf6fb3bf
commit f42daf4509

View File

@@ -218,9 +218,10 @@ func (obj *World) Connect(ctx context.Context, init *engine.WorldInit) error {
} }
auth, err := obj.sshKeyAuth(p) auth, err := obj.sshKeyAuth(p)
if err != nil { if err != nil {
obj.init.Logf("can't get auth from: %s", p) //obj.init.Logf("can't get auth from: %s", p) // misleading
continue continue
} }
obj.init.Logf("found auth option in: %s", p)
auths = append(auths, auth) auths = append(auths, auth)
} }
if len(auths) == 0 { if len(auths) == 0 {