Skip to content

Commit

Permalink
fix: remove custom signal handler for concurrent reclaims (openyurtio…
Browse files Browse the repository at this point in the history
…#1889)

Signed-off-by: wangxye <[email protected]>
  • Loading branch information
wangxye authored and zyjhtangtang committed Apr 16, 2024
1 parent d84a96d commit 407bdf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/yurt-iot-dock/app/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func Run(opts *options.YurtIoTDockOptions, stopCh <-chan struct{}) {
}

setupLog.Info("[run controllers] Starting manager, acting on " + fmt.Sprintf("[NodePool: %s, Namespace: %s]", opts.Nodepool, opts.Namespace))
if err := mgr.Start(SetupSignalHandler(mgr.GetClient(), opts)); err != nil {
if err := mgr.Start(ctrl.SetupSignalHandler()); err != nil {
setupLog.Error(err, "could not running manager")
os.Exit(1)
}
Expand Down

0 comments on commit 407bdf1

Please sign in to comment.