diff --git a/coredns_plugin/reload.go b/coredns_plugin/reload.go index 823ee594..880a3acc 100644 --- a/coredns_plugin/reload.go +++ b/coredns_plugin/reload.go @@ -17,10 +17,7 @@ func hook(event caddy.EventName, info interface{}) error { instance := info.(*caddy.Instance) go func() { - trace("Will wait for Reload channel") - for range Reload { - trace("Got message on Reload, restarting coredns") corefile, err := caddy.LoadCaddyfile(instance.Caddyfile().ServerType()) if err != nil { continue