diff options
author | 2017-08-29 21:23:13 +0200 | |
---|---|---|
committer | 2017-08-29 21:23:13 +0200 | |
commit | 7b8cf9df905a5e5f3fe9918a31edb406d50941d1 (patch) | |
tree | 78807563358e714c410bec0e14092753e2a6a998 /test/kubernetes_test.go | |
parent | 7e63bdbee8340d3ce2d2488f93d0fb1d4d16a201 (diff) | |
download | coredns-7b8cf9df905a5e5f3fe9918a31edb406d50941d1.tar.gz coredns-7b8cf9df905a5e5f3fe9918a31edb406d50941d1.tar.zst coredns-7b8cf9df905a5e5f3fe9918a31edb406d50941d1.zip |
mw/health: call Shutdown on FinalShutdown (#1003)
Reloading caddy won't kill the health handler. Only on final shutdown
we stop the handler.
Currently when reloading CoreDNS with -SIGUSR1 the health handler stops
answering - there is a test for this but it doesn't capture whole
process reloading, sadly. This PR keeps the handler alive during reloads
and only stops on process shutdown.
Diffstat (limited to 'test/kubernetes_test.go')
0 files changed, 0 insertions, 0 deletions