Skip to content

Commit a5d07e9

Browse files
authored
Merge pull request #788 from ms-choudhary/improve-shutdown-log
Fix shutdown logging
2 parents f3bc481 + cc3fa55 commit a5d07e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/main.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ func main() {
110110
registerHandlers(mux)
111111
go startHTTPServer(options.HealthzPort, mux)
112112

113-
glog.Fatal(mgr.Start(signals.SetupSignalHandler()))
113+
if err := mgr.Start(signals.SetupSignalHandler()); err != nil {
114+
glog.Fatal(err)
115+
}
114116
}
115117

116118
// buildRestConfig creates a new Kubernetes REST configuration. apiserverHost is

0 commit comments

Comments
 (0)