aboutsummaryrefslogtreecommitdiff
path: root/plugin/file/notify.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-03-09 20:42:27 +0000
committerGravatar GitHub <noreply@github.com> 2018-03-09 20:42:27 +0000
commit27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3 (patch)
tree857a278e973da564a844a594f38c37ce897a4f8a /plugin/file/notify.go
parent87790dd47cf8d8a1bc6686a9bc95965264b57fe1 (diff)
downloadcoredns-27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3.tar.gz
coredns-27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3.tar.zst
coredns-27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3.zip
logging: Don't use PrintF when not needed (#1599)
These log print don't have any verbs, so just use plain Print
Diffstat (limited to 'plugin/file/notify.go')
-rw-r--r--plugin/file/notify.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/file/notify.go b/plugin/file/notify.go
index 68850e0d3..1d60d20d5 100644
--- a/plugin/file/notify.go
+++ b/plugin/file/notify.go
@@ -53,7 +53,7 @@ func notify(zone string, to []string) error {
continue
}
if err := notifyAddr(c, m, t); err != nil {
- log.Printf("[ERROR] " + err.Error())
+ log.Print("[ERROR] " + err.Error())
} else {
log.Printf("[INFO] Sent notify for zone %q to %q", zone, t)
}