etcd: ssh: Improve logging to be less misleading
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user