modify to get the right content when updating ingress
This commit is contained in:
parent
0f7a527bbb
commit
964825317e
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ func (s *statusSync) updateStatus(newIPs []api.LoadBalancerIngress) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
curIPs := ing.Status.LoadBalancer.Ingress
|
curIPs := currIng.Status.LoadBalancer.Ingress
|
||||||
sort.Sort(loadBalancerIngressByIP(curIPs))
|
sort.Sort(loadBalancerIngressByIP(curIPs))
|
||||||
if ingressSliceEqual(newIPs, curIPs) {
|
if ingressSliceEqual(newIPs, curIPs) {
|
||||||
glog.V(3).Infof("skipping update of Ingress %v/%v (there is no change)", currIng.Namespace, currIng.Name)
|
glog.V(3).Infof("skipping update of Ingress %v/%v (there is no change)", currIng.Namespace, currIng.Name)
|
||||||
|
|
Loading…
Reference in a new issue