mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
logging: Don't use PrintF when not needed (#1599)
These log print don't have any verbs, so just use plain Print
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user