mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 23:28:08 +03:00
coredns plugin -- remove debug logging
This commit is contained in:
parent
ac6e0add31
commit
5192e95a0d
1 changed files with 0 additions and 3 deletions
|
@ -17,10 +17,7 @@ func hook(event caddy.EventName, info interface{}) error {
|
||||||
instance := info.(*caddy.Instance)
|
instance := info.(*caddy.Instance)
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
trace("Will wait for Reload channel")
|
|
||||||
|
|
||||||
for range Reload {
|
for range Reload {
|
||||||
trace("Got message on Reload, restarting coredns")
|
|
||||||
corefile, err := caddy.LoadCaddyfile(instance.Caddyfile().ServerType())
|
corefile, err := caddy.LoadCaddyfile(instance.Caddyfile().ServerType())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue