Skip to content

Commit ab35bd0

Browse files
authored
Merge pull request kubernetes#75577 from mars1024/bugfix/use_add_in_enqueue
replace AddRateLimited with Add in enqueue func
2 parents efaf4f3 + 0335867 commit ab35bd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/sample-controller/controller.go

Lines changed: 1 addition & 1 deletion
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)