Skip to content

Stop using deprecated client-go workqueue code #3490

@jackfrancis

Description

@jackfrancis

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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions