Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennenMM7 committed Mar 6, 2024
1 parent ea6ec22 commit 89f7d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exp/controllers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ func GetOwnerMachinePool(ctx context.Context, c client.Client, obj metav1.Object
}

// KubeadmConfigToInfrastructureMapFunc returns a handler.ToRequestsFunc that watches for KubeadmConfig events and returns.
func KubeadmConfigToInfrastructureMapFunc(ctx context.Context, c client.Client, log logr.Logger) handler.MapFunc {
func KubeadmConfigToInfrastructureMapFunc(_ context.Context, c client.Client, log logr.Logger) handler.MapFunc {
return func(ctx context.Context, o client.Object) []reconcile.Request {
_, cancel := context.WithTimeout(ctx, reconciler.DefaultMappingTimeout)
ctx, cancel := context.WithTimeout(ctx, reconciler.DefaultMappingTimeout)
defer cancel()

kc, ok := o.(*kubeadmv1.KubeadmConfig)
Expand Down

0 comments on commit 89f7d95

Please sign in to comment.