** remove len(addrs)>1 check in syncStatus shutdown()
this logic is no longer valid but I don't understand what's going on well enough to justify its removal yet - input welcome if you can tell me if this is/isn't reasonable.
This commit is contained in:
parent
e518ae45c7
commit
89b8125739
1 changed files with 0 additions and 6 deletions
|
@ -121,12 +121,6 @@ func (s *statusSync) Shutdown() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(addrs) > 1 {
|
|
||||||
// leave the job to the next leader
|
|
||||||
klog.InfoS("leaving status update for next leader")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if s.isRunningMultiplePods() {
|
if s.isRunningMultiplePods() {
|
||||||
klog.V(2).InfoS("skipping Ingress status update (multiple pods running - another one will be elected as master)")
|
klog.V(2).InfoS("skipping Ingress status update (multiple pods running - another one will be elected as master)")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue