Skip to content

Commit

Permalink
fix(controlplane): remove 2nd call to ctrl.SetupSignalHandler
Browse files Browse the repository at this point in the history
Signed-off-by: Cannon Palms <[email protected]>
  • Loading branch information
cannonpalms committed Feb 26, 2024
1 parent 5f067a6 commit 7e5f05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controlplane/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func main() {
// +kubebuilder:scaffold:builder

setupLog.Info("starting manager")
if err := mgr.Start(ctrl.SetupSignalHandler()); err != nil {
if err := mgr.Start(ctx); err != nil {
setupLog.Error(err, "problem running manager")
os.Exit(1)
}
Expand Down

0 comments on commit 7e5f05a

Please sign in to comment.