Unverified Commit 123d0a74 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #70610 from zhihuiwu/min-master-nodes

Fix a wrong judgement in elasticsearch_logging_discovery.go
parents 1059fedd eed65f75
...@@ -113,7 +113,7 @@ func main() { ...@@ -113,7 +113,7 @@ func main() {
} }
addrs = flattenSubsets(endpoints.Subsets) addrs = flattenSubsets(endpoints.Subsets)
glog.Infof("Found %s", addrs) glog.Infof("Found %s", addrs)
if len(addrs) > 0 && len(addrs) == count { if len(addrs) > 0 && len(addrs) >= count {
break break
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment