Commit 4ef46aaa authored by Geoff Simmons's avatar Geoff Simmons

Report the shutdown signal name correctly in the log.

parent 5460ba68
......@@ -231,8 +231,8 @@ func handleTermination(
log.Info("varnish controller exited successfully")
exited = true
case <-signalChan:
log.Info("Received SIGTERM, shutting down")
case sig := <-signalChan:
log.Infof("Received signal (%s), shutting down", sig.String())
log.Info("Shutting down informers")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment