Skip to content

Commit

Permalink
chore: lint error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tasdikrahman committed Jun 28, 2024
1 parent 761d5d7 commit 3d762a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions exp/controllers/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func KubeadmConfigToInfrastructureMapFunc(_ context.Context, c client.Client, lo

// GCPMachinePoolMachineMapper returns a handler.ToRequestsFunc that watches for GCPMachinePool events and returns.
func GCPMachinePoolMachineMapper(scheme *runtime.Scheme, log logr.Logger) handler.MapFunc {
return func(ctx context.Context, o client.Object) []ctrl.Request {
return func(_ context.Context, o client.Object) []ctrl.Request {
gvk, err := apiutil.GVKForObject(new(infrav1exp.GCPMachinePool), scheme)
if err != nil {
log.Error(errors.WithStack(err), "failed to find GVK for GCPMachinePool")
Expand Down Expand Up @@ -204,8 +204,8 @@ func MachinePoolMachineHasStateOrVersionChange(logger logr.Logger) predicate.Fun
}
return shouldUpdate
},
CreateFunc: func(e event.CreateEvent) bool { return false },
DeleteFunc: func(e event.DeleteEvent) bool { return false },
GenericFunc: func(e event.GenericEvent) bool { return false },
CreateFunc: func(_ event.CreateEvent) bool { return false },
DeleteFunc: func(_ event.DeleteEvent) bool { return false },
GenericFunc: func(_ event.GenericEvent) bool { return false },
}
}

0 comments on commit 3d762a4

Please sign in to comment.