Skip to content

Commit 35065cb

Browse files
authored
Merge pull request kubernetes#127765 from alvaroaleman/fix
Fix accidental breaking change in TypedNewDelayingQueue
2 parents 67cdc26 + 6933c1b commit 35065cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staging/src/k8s.io/client-go/util/workqueue/delaying_queue.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ func NewDelayingQueueWithConfig(config DelayingQueueConfig) DelayingInterface {
8787
// TypedNewDelayingQueue exists for backwards compatibility only.
8888
//
8989
// Deprecated: use NewTypedDelayingQueueWithConfig instead.
90-
func TypedNewDelayingQueue[T comparable](config TypedDelayingQueueConfig[T]) TypedDelayingInterface[T] {
91-
return NewTypedDelayingQueueWithConfig(config)
90+
func TypedNewDelayingQueue[T comparable]() TypedDelayingInterface[T] {
91+
return NewTypedDelayingQueue[T]()
9292
}
9393

9494
// NewTypedDelayingQueueWithConfig constructs a new workqueue with options to

0 commit comments

Comments
 (0)