Skip to content

Commit

Permalink
remove not-needed parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
chdxD1 committed Nov 15, 2024
1 parent cd11edc commit db77061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func initComponents(mgr manager.Manager, anycastTracker *anycast.Tracker, cfg *c
if err != nil {
return fmt.Errorf("unable to create debounced reconciler: %w", err)
}
if err := setupReconcilers(r, mgr, anycastTracker); err != nil {
if err := setupReconcilers(r, mgr); err != nil {
return fmt.Errorf("unable to setup reconcilers: %w", err)
}

Expand All @@ -234,7 +234,7 @@ func initComponents(mgr manager.Manager, anycastTracker *anycast.Tracker, cfg *c
return nil
}

func setupReconcilers(r *reconciler.Reconciler, mgr manager.Manager, anycastTracker *anycast.Tracker) error {
func setupReconcilers(r *reconciler.Reconciler, mgr manager.Manager) error {
if err := (&controllers.VRFRouteConfigurationReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
Expand Down

0 comments on commit db77061

Please sign in to comment.