diff --git a/services/etcd.go b/services/etcd.go index 53376e3d2..57bc05207 100644 --- a/services/etcd.go +++ b/services/etcd.go @@ -172,6 +172,9 @@ func IsEtcdMember(ctx context.Context, etcdHost *hosts.Host, etcdHosts []*hosts. return true, nil } } + // reset the list of errors to handle new hosts + listErr = nil + break } if listErr != nil { return false, listErr