1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-17 17:01:08 +00:00

Fix get etcd client issue

This commit is contained in:
galal-hussein 2018-03-07 00:32:50 +02:00
parent 0d1b459742
commit ce986afab3

View File

@ -172,6 +172,9 @@ func IsEtcdMember(ctx context.Context, etcdHost *hosts.Host, etcdHosts []*hosts.
return true, nil return true, nil
} }
} }
// reset the list of errors to handle new hosts
listErr = nil
break
} }
if listErr != nil { if listErr != nil {
return false, listErr return false, listErr