Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mgianluc committed May 6, 2024
1 parent 5be431b commit 4863899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/commands/reconciler_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func startTechsupportReconciler(ctx context.Context, mgr manager.Manager, logger
return c, nil
}

func watchForCAPI(mgr ctrl.Manager, c controller.Controller, logger logr.Logger) error {
func watchForCAPI(mgr ctrl.Manager, c controller.Controller) error {
sourceCluster := source.Kind[*clusterv1.Cluster](
mgr.GetCache(),
&clusterv1.Cluster{},
Expand Down Expand Up @@ -526,7 +526,7 @@ func capiWatchers(ctx context.Context, mgr ctrl.Manager, techsupportController c
go crd.WatchCustomResourceDefinition(ctx, mgr.GetConfig(), capiCRDHandler, logger)
} else {
logger.V(logsettings.LogInfo).Info("CAPI present.")
err = watchForCAPI(mgr, techsupportController, logger)
err = watchForCAPI(mgr, techsupportController)
if err != nil {
continue
}
Expand Down

0 comments on commit 4863899

Please sign in to comment.