diff options
author | 2018-03-09 20:42:27 +0000 | |
---|---|---|
committer | 2018-03-09 20:42:27 +0000 | |
commit | 27f58d8dc68b77e6ba935dbc3dce8df8cbe5e1a3 (patch) | |
tree | 857a278e973da564a844a594f38c37ce897a4f8a /plugin/loadbalance/loadbalance.go | |
parent | 87790dd47cf8d8a1bc6686a9bc95965264b57fe1 (diff) | |
download | coredns-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/loadbalance/loadbalance.go')
-rw-r--r-- | plugin/loadbalance/loadbalance.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/loadbalance/loadbalance.go b/plugin/loadbalance/loadbalance.go index 7df0b31c6..a016e40c5 100644 --- a/plugin/loadbalance/loadbalance.go +++ b/plugin/loadbalance/loadbalance.go @@ -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 } |