mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 13:31:52 +00:00
Merge pull request #127765 from alvaroaleman/fix
Fix accidental breaking change in TypedNewDelayingQueue
This commit is contained in:
commit
35065cb594
@ -87,8 +87,8 @@ func NewDelayingQueueWithConfig(config DelayingQueueConfig) DelayingInterface {
|
|||||||
// TypedNewDelayingQueue exists for backwards compatibility only.
|
// TypedNewDelayingQueue exists for backwards compatibility only.
|
||||||
//
|
//
|
||||||
// Deprecated: use NewTypedDelayingQueueWithConfig instead.
|
// Deprecated: use NewTypedDelayingQueueWithConfig instead.
|
||||||
func TypedNewDelayingQueue[T comparable](config TypedDelayingQueueConfig[T]) TypedDelayingInterface[T] {
|
func TypedNewDelayingQueue[T comparable]() TypedDelayingInterface[T] {
|
||||||
return NewTypedDelayingQueueWithConfig(config)
|
return NewTypedDelayingQueue[T]()
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewTypedDelayingQueueWithConfig constructs a new workqueue with options to
|
// NewTypedDelayingQueueWithConfig constructs a new workqueue with options to
|
||||||
|
Loading…
Reference in New Issue
Block a user