mirror of
https://github.com/rancher/rke.git
synced 2025-07-16 08:25:51 +00:00
Fix get etcd client issue
This commit is contained in:
parent
0d1b459742
commit
ce986afab3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user