Merge pull request #75577 from mars1024/bugfix/use_add_in_enqueue

replace AddRateLimited with Add in enqueue func
This commit is contained in:
Kubernetes Prow Robot 2019-03-22 00:04:57 -07:00 committed by GitHub
commit ab35bd0668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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