mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	fix k8s start up timeout ticker (#5361)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
		| @@ -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() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user