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( ...@@ -231,8 +231,8 @@ func handleTermination(
log.Info("varnish controller exited successfully") log.Info("varnish controller exited successfully")
} }
exited = true exited = true
case <-signalChan: case sig := <-signalChan:
log.Info("Received SIGTERM, shutting down") log.Infof("Received signal (%s), shutting down", sig.String())
} }
log.Info("Shutting down informers") 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