Commit f7836341 authored by Miek Gieben's avatar Miek Gieben

Send notifies after reload

parent 95477fd2
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment