Fix reference to removed lister

This commit is contained in:
Manuel de Brito Fontes 2017-11-27 19:22:59 -03:00
parent 27c863085e
commit 3526785b96
2 changed files with 8 additions and 8 deletions

View file

@ -203,7 +203,7 @@ func (n *NGINXController) syncIngress(item interface{}) error {
PassthroughBackends: passUpstreams,
}
if !n.isForceReload() && n.runningConfig != nil && n.runningConfig.Equal(&pcfg) {
if !n.isForceReload() && n.runningConfig.Equal(&pcfg) {
glog.V(3).Infof("skipping backend reload (no changes detected)")
return nil
}