mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
replace AddRateLimited with Add in enqueue func
This commit is contained in:
parent
c48ed1c5ac
commit
0335867b56
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user