mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-23 10:58:42 +00:00
replace AddRateLimited with Add in enqueue func
This commit is contained in:
@@ -342,7 +342,7 @@ func (c *Controller) enqueueFoo(obj interface{}) {
|
|||||||
utilruntime.HandleError(err)
|
utilruntime.HandleError(err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
c.workqueue.AddRateLimited(key)
|
c.workqueue.Add(key)
|
||||||
}
|
}
|
||||||
|
|
||||||
// handleObject will take any resource implementing metav1.Object and attempt
|
// handleObject will take any resource implementing metav1.Object and attempt
|
||||||
|
Reference in New Issue
Block a user