mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #70610 from zhihuiwu/min-master-nodes
Fix a wrong judgement in elasticsearch_logging_discovery.go
This commit is contained in:
commit
123d0a74ef
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user