mirror of
https://github.com/coredns/coredns.git
synced 2025-11-26 21:54:03 -05:00
dont lameduck when reloading (#5472)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
@@ -20,7 +20,7 @@ func setup(c *caddy.Controller) error {
|
||||
h := &health{Addr: addr, lameduck: lame}
|
||||
|
||||
c.OnStartup(h.OnStartup)
|
||||
c.OnRestart(h.OnFinalShutdown)
|
||||
c.OnRestart(h.OnReload)
|
||||
c.OnFinalShutdown(h.OnFinalShutdown)
|
||||
c.OnRestartFailed(h.OnStartup)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user