Avoid checking if the controllers are synced
This commit is contained in:
parent
32f24380ec
commit
5472555186
2 changed files with 13 additions and 21 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue