coredns plugin -- remove debug logging

This commit is contained in:
Eugene Bujak 2018-10-12 04:05:39 +03:00
parent ac6e0add31
commit 5192e95a0d

View file

@ -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