From 43799399a60d84e89180be4397ee27aa6946c78f Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Thu, 27 Jun 2024 09:10:27 +0200 Subject: [PATCH] Adjust to TypedReconciler PR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Büringer buringerst@vmware.com --- .../internal/controllers/clusterresourceset_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exp/addons/internal/controllers/clusterresourceset_controller.go b/exp/addons/internal/controllers/clusterresourceset_controller.go index 51cfdc4cc535..ab7373fcf982 100644 --- a/exp/addons/internal/controllers/clusterresourceset_controller.go +++ b/exp/addons/internal/controllers/clusterresourceset_controller.go @@ -502,7 +502,7 @@ func (r *ClusterResourceSetReconciler) clusterToClusterResourceSet(ctx context.C } // resourceToClusterResourceSetFunc returns a typed mapper function that maps resources to ClusterResourceSet. -func resourceToClusterResourceSetFunc[T client.Object](ctrlClient client.Client) handler.TypedMapFunc[T] { +func resourceToClusterResourceSetFunc[T client.Object](ctrlClient client.Client) handler.TypedMapFunc[T, ctrl.Request] { return func(ctx context.Context, o T) []ctrl.Request { result := []ctrl.Request{}