Merge pull request #127765 from alvaroaleman/fix

Fix accidental breaking change in TypedNewDelayingQueue
This commit is contained in:
Kubernetes Prow Robot 2024-10-01 02:23:50 +01:00 committed by GitHub
commit 35065cb594
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,8 +87,8 @@ func NewDelayingQueueWithConfig(config DelayingQueueConfig) DelayingInterface {
// TypedNewDelayingQueue exists for backwards compatibility only.
//
// Deprecated: use NewTypedDelayingQueueWithConfig instead.
func TypedNewDelayingQueue[T comparable](config TypedDelayingQueueConfig[T]) TypedDelayingInterface[T] {
return NewTypedDelayingQueueWithConfig(config)
func TypedNewDelayingQueue[T comparable]() TypedDelayingInterface[T] {
return NewTypedDelayingQueue[T]()
}
// NewTypedDelayingQueueWithConfig constructs a new workqueue with options to