Skip to content

Commit 7047ee6

Browse files
mars1024k8s-publishing-bot
authored andcommittedMar 22, 2019
replace AddRateLimited with Add in enqueue func
Kubernetes-commit: 0335867b564f4791ccca56f20b8d06226f991d15
1 parent 77d4e19 commit 7047ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ func (c *Controller) enqueueFoo(obj interface{}) {
342342
utilruntime.HandleError(err)
343343
return
344344
}
345-
c.workqueue.AddRateLimited(key)
345+
c.workqueue.Add(key)
346346
}
347347

348348
// handleObject will take any resource implementing metav1.Object and attempt

0 commit comments

Comments
 (0)
Failed to load comments.