Merge pull request #14921 from egonelbre/megacheck_log

log: fix megacheck warnings
pull/14927/head
Péter Szilágyi 7 years ago committed by GitHub
commit 3991745c5f
  1. 2
      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)

Loading…
Cancel
Save