replace AddRateLimited with Add in enqueue func

This commit is contained in:
Bruce Ma 2019-03-22 11:40:23 +08:00
parent c48ed1c5ac
commit 0335867b56

View File

@ -342,7 +342,7 @@ func (c *Controller) enqueueFoo(obj interface{}) {
utilruntime.HandleError(err)
return
}
c.workqueue.AddRateLimited(key)
c.workqueue.Add(key)
}
// handleObject will take any resource implementing metav1.Object and attempt