diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-08-07 19:24:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 19:24:22 +0800 |
commit | 3991745c5f72033bdefb1ca5931f48857d8d9973 (patch) | |
tree | e647ebe8f33c30fe05e12cd6f1d8e0661bceb784 | |
parent | 6dd2803b8e224a267df99709871e6d27710e6de9 (diff) | |
parent | cd82b89fde6e898318015f6252f202b0bf6c3489 (diff) | |
download | dexon-3991745c5f72033bdefb1ca5931f48857d8d9973.tar dexon-3991745c5f72033bdefb1ca5931f48857d8d9973.tar.gz dexon-3991745c5f72033bdefb1ca5931f48857d8d9973.tar.bz2 dexon-3991745c5f72033bdefb1ca5931f48857d8d9973.tar.lz dexon-3991745c5f72033bdefb1ca5931f48857d8d9973.tar.xz dexon-3991745c5f72033bdefb1ca5931f48857d8d9973.tar.zst dexon-3991745c5f72033bdefb1ca5931f48857d8d9973.zip |
Merge pull request #14921 from egonelbre/megacheck_log
log: fix megacheck warnings
-rw-r--r-- | log/format.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log/format.go b/log/format.go index 6c19c7a55..0b07abb2a 100644 --- a/log/format.go +++ b/log/format.go @@ -330,7 +330,7 @@ func escapeString(s string) string { needsEscape = true } } - if needsEscape == false && needsQuotes == false { + if !needsEscape && !needsQuotes { return s } e := stringBufPool.Get().(*bytes.Buffer) |