mirror of
https://github.com/coredns/coredns.git
synced 2025-10-03 19:41:35 +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.Tree = zone.Tree
|
||||||
z.reloadMu.Unlock()
|
z.reloadMu.Unlock()
|
||||||
log.Printf("[INFO] Successfully reloaded zone `%s'", z.origin)
|
log.Printf("[INFO] Successfully reloaded zone `%s'", z.origin)
|
||||||
|
z.Notify()
|
||||||
}
|
}
|
||||||
case <-shutdown:
|
case <-shutdown:
|
||||||
watcher.Close()
|
watcher.Close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user