mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
directly break the loop if condition map
This commit is contained in:
parent
d323fed024
commit
a6ad0e1a5c
@ -202,6 +202,7 @@ func (cc *clusterClientCache) processServiceUpdate(cachedService *cachedService,
|
||||
for _, fed := range cachedFedServiceStatus.Ingress {
|
||||
if new.IP == fed.IP && new.Hostname == fed.Hostname {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
}
|
||||
if !found {
|
||||
|
Loading…
Reference in New Issue
Block a user