Skip to content

Commit

Permalink
pod controller: remove deprecated queue constructor
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Duarte Barroso <[email protected]>
  • Loading branch information
maiqueb committed Nov 29, 2024
1 parent b550e4c commit 4475059
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/controller/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ func NewPodNetworksController(
netAttachDefLister: nadInformers.K8sCniCncfIo().V1().NetworkAttachmentDefinitions().Lister(),
recorder: recorder,
broadcaster: broadcaster,
workqueue: workqueue.NewNamedRateLimitingQueue(
workqueue: workqueue.NewRateLimitingQueueWithConfig(
workqueue.DefaultControllerRateLimiter(),
AdvertisedName),
workqueue.RateLimitingQueueConfig{Name: AdvertisedName},
),
k8sClientSet: k8sClientSet,
nadClientSet: nadClientSet,
containerRuntime: containerRuntime,
Expand Down

0 comments on commit 4475059

Please sign in to comment.