fix: exit without error log

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-07-21 19:09:27 +08:00
parent 35989d911c
commit a42fa6afaf

View File

@@ -79,6 +79,7 @@ func NewControllerManagerCommand() *cobra.Command {
}
if err = Run(s, signals.SetupSignalHandler()); err != nil {
klog.Error(err)
os.Exit(1)
}
},