mirror of
https://github.com/rancher/rke.git
synced 2025-09-02 15:34:36 +00:00
Fix get etcd client issue
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user