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:
Miek Gieben
2018-03-09 20:42:27 +00:00
committed by GitHub
parent 87790dd47c
commit 27f58d8dc6
6 changed files with 8 additions and 8 deletions

View File

@@ -75,7 +75,7 @@ func roundRobinShuffle(records []dns.RR) {
// Write implements the dns.ResponseWriter interface.
func (r *RoundRobinResponseWriter) Write(buf []byte) (int, error) {
// Should we pack and unpack here to fiddle with the packet... Not likely.
log.Printf("[WARNING] RoundRobin called with Write: no shuffling records")
log.Print("[WARNING] RoundRobin called with Write: no shuffling records")
n, err := r.ResponseWriter.Write(buf)
return n, err
}