From 8946762d8da0e41f37879e7cb69fe4cf5dc4d17d Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Arango Gutierrez Date: Tue, 15 Oct 2024 21:06:09 +0200 Subject: [PATCH] change queue from RateLimitingInterface to TypedRateLimitingInterface[any] Signed-off-by: Carlos Eduardo Arango Gutierrez --- pkg/controller/mpi_job_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/mpi_job_controller.go b/pkg/controller/mpi_job_controller.go index c395dad0..02026944 100644 --- a/pkg/controller/mpi_job_controller.go +++ b/pkg/controller/mpi_job_controller.go @@ -247,7 +247,7 @@ type MPIJobController struct { // means we can ensure we only process a fixed amount of resources at a // time, and makes it easy to ensure we are never processing the same item // simultaneously in two different workers. - queue workqueue.RateLimitingInterface + queue workqueue.TypedRateLimitingInterface[any] // recorder is an event recorder for recording Event resources to the // Kubernetes API. recorder record.EventRecorder