Merge pull request #14921 from egonelbre/megacheck_log
log: fix megacheck warnings
This commit is contained in:
commit
3991745c5f
|
@ -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…
Reference in New Issue