Skip to content

Commit

Permalink
Adjust to TypedReconciler PR
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Büringer buringerst@vmware.com
  • Loading branch information
sbueringer committed Jul 1, 2024
1 parent f66e30d commit 4379939
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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{}

Expand Down

0 comments on commit 4379939

Please sign in to comment.