-
Notifications
You must be signed in to change notification settings - Fork 608
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
What would you like to be added:
CL2 use of client-go
's workqueue
package includes the deprecated New
constructor:
// New constructs a new work queue (see the package comment).
//
// Deprecated: use NewTyped instead.
func New() *Type {
return NewWithConfig(QueueConfig{
Name: "",
})
}
Ref:
We want to do a light refactor of the code so that we're using the go generic NewTyped[T comparable]
constructor instead.
Why is this needed:
Use of deprecated functions make stuff more brittle in the long-term.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.