mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-24 22:28:43 +00:00
Use the generic/typed workqueue throughout
This change makes us use the generic workqueue throughout the project in order to improve type safety and readability of the code.
This commit is contained in:
@@ -188,8 +188,8 @@ type PersistentVolumeController struct {
|
||||
// version errors in API server and other checks in this controller),
|
||||
// however overall speed of multi-worker controller would be lower than if
|
||||
// it runs single thread only.
|
||||
claimQueue *workqueue.Type
|
||||
volumeQueue *workqueue.Type
|
||||
claimQueue *workqueue.Typed[string]
|
||||
volumeQueue *workqueue.Typed[string]
|
||||
|
||||
// Map of scheduled/running operations.
|
||||
runningOperations goroutinemap.GoRoutineMap
|
||||
|
||||
Reference in New Issue
Block a user