From 5192e95a0d177d6b918578fcfcfc12d9e9d4b967 Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Fri, 12 Oct 2018 04:05:39 +0300 Subject: [PATCH] coredns plugin -- remove debug logging --- coredns_plugin/reload.go | 3 --- 1 file changed, 3 deletions(-) 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