mirror of
https://github.com/coredns/coredns.git
synced 2025-10-03 03:21:15 +02:00
Send notifies after reload
This commit is contained in:
parent
95477fd2fe
commit
f783634174
@ -137,6 +137,7 @@ func (z *Zone) Reload(shutdown chan bool) error {
|
||||
z.Tree = zone.Tree
|
||||
z.reloadMu.Unlock()
|
||||
log.Printf("[INFO] Successfully reloaded zone `%s'", z.origin)
|
||||
z.Notify()
|
||||
}
|
||||
case <-shutdown:
|
||||
watcher.Close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user