fix k8s start up timeout ticker (#5361)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
parent
4ae29a449c
commit
c02cd52208
1 changed files with 0 additions and 2 deletions
|
@ -284,8 +284,6 @@ func (k *Kubernetes) InitKubeCache(ctx context.Context) (onStart func() error, o
|
|||
checkSyncTicker := time.NewTicker(100 * time.Millisecond)
|
||||
defer checkSyncTicker.Stop()
|
||||
for {
|
||||
timeoutTicker.Reset(timeout)
|
||||
logTicker.Reset(logDelay)
|
||||
select {
|
||||
case <-checkSyncTicker.C:
|
||||
if k.APIConn.HasSynced() {
|
||||
|
|
Loading…
Add table
Reference in a new issue