mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
Send notifies after reload
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user