mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-22 03:10:26 +00:00
List objects in deterministic order
This commit is contained in:
@@ -147,7 +147,7 @@ func etcdErrorIndex(err error) (uint64, bool) {
|
||||
}
|
||||
|
||||
func (h *EtcdHelper) listEtcdNode(key string) ([]*etcd.Node, uint64, error) {
|
||||
result, err := h.Client.Get(key, false, true)
|
||||
result, err := h.Client.Get(key, true, true)
|
||||
if err != nil {
|
||||
index, ok := etcdErrorIndex(err)
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user