Merge pull request #33155 from guangxuli/k8s_test_0921

Automatic merge from submit-queue

directly break the loop if condition map
This commit is contained in:
Kubernetes Submit Queue
2016-09-27 19:53:06 -07:00
committed by GitHub

View File

@@ -223,6 +223,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 {