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:
parent
0d1b459742
commit
ce986afab3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user