mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-04 16:40:21 +00:00
Integrate new metrics provider option in test case
Kubernetes-commit: 9e83e7e975dd5971e60e9768e06520aa5ebf9bf8
This commit is contained in:
committed by
Kubernetes Publisher
parent
e0785d6713
commit
9668243c04
@@ -44,7 +44,6 @@ func NewNamed(name string, opts ...QueueOption) *Type {
|
||||
|
||||
// newNamedQueueWithCustomClock constructs a new named workqueue
|
||||
// with ability to inject real or fake clock for testing purposes
|
||||
// TODO(austince): should WithUpdatePeriod be a QueueOption? Could this func then be public?
|
||||
func newNamedQueueWithCustomClock(clock clock.WithTicker, name string, updatePeriod time.Duration, opts ...QueueOption) *Type {
|
||||
config := NewConfig(opts...)
|
||||
|
||||
|
Reference in New Issue
Block a user