mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-08 16:30:57 -04:00
Merge pull request #101857 from dervoeti/master
fixed wrong warning in kube-proxy regarding topology aware hints
This commit is contained in:
commit
5edccec32b
1 changed files with 3 additions and 3 deletions
|
|
@ -81,12 +81,12 @@ func filterEndpointsWithHints(endpoints []Endpoint, hintsAnnotation string, node
|
|||
}
|
||||
}
|
||||
|
||||
if len(filteredEndpoints) > 0 {
|
||||
if len(filteredEndpoints) == 0 {
|
||||
klog.Warningf("Skipping topology aware endpoint filtering since no hints were provided for zone %s", zone)
|
||||
return filteredEndpoints
|
||||
return endpoints
|
||||
}
|
||||
|
||||
return endpoints
|
||||
return filteredEndpoints
|
||||
}
|
||||
|
||||
// deprecatedTopologyFilter returns the appropriate endpoints based on the
|
||||
|
|
|
|||
Loading…
Reference in a new issue