Avoid checking if the controllers are synced

This commit is contained in:
Manuel de Brito Fontes 2017-05-29 12:22:30 -04:00
parent 32f24380ec
commit 5472555186
2 changed files with 13 additions and 21 deletions

View file

@ -20,7 +20,6 @@ import (
"fmt"
"reflect"
"strings"
"time"
"github.com/golang/glog"
@ -37,12 +36,6 @@ import (
func (ic *GenericController) syncSecret() {
glog.V(3).Infof("starting syncing of secrets")
if !ic.controllersInSync() {
time.Sleep(podStoreSyncedPollPeriod)
glog.Warningf("deferring sync till endpoints controller has synced")
return
}
var cert *ingress.SSLCert
var err error