Remove options from queue ctors w/o metrics

Kubernetes-commit: 31f16db1959bb1db02fcc578f4aa7d47414a26f4
This commit is contained in:
austin ce
2022-12-02 14:06:37 -05:00
committed by Kubernetes Publisher
parent 89a4c1271f
commit e0785d6713
2 changed files with 4 additions and 4 deletions

View File

@@ -36,8 +36,8 @@ type DelayingInterface interface {
// NewDelayingQueue constructs a new workqueue with delayed queuing ability.
// NewDelayingQueue does not emit metrics. For use with a MetricsProvider, please use
// NewNamedDelayingQueue instead.
func NewDelayingQueue(opts ...QueueOption) DelayingInterface {
return NewDelayingQueueWithCustomClock(clock.RealClock{}, "", opts...)
func NewDelayingQueue() DelayingInterface {
return NewDelayingQueueWithCustomClock(clock.RealClock{}, "")
}
// NewDelayingQueueWithCustomQueue constructs a new workqueue with ability to