Use Sprint() instead of Sprintf() in log dedupe
Uses `fmt.Sprint()` instead of `fmt.Sprintf()` for log deduplication. Fixes: #6796
This commit is contained in:
parent
895e7fe111
commit
849914b756
2
log.go
2
log.go
|
@ -35,7 +35,7 @@ func logOutput() (logOutput io.Writer, err error) {
|
||||||
if strings.Contains(scanner.Text(), "ui:") {
|
if strings.Contains(scanner.Text(), "ui:") {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
os.Stderr.WriteString(fmt.Sprintf(scanner.Text() + "\n"))
|
os.Stderr.WriteString(fmt.Sprint(scanner.Text() + "\n"))
|
||||||
}
|
}
|
||||||
}(scanner)
|
}(scanner)
|
||||||
logOutput = w
|
logOutput = w
|
||||||
|
|
Loading…
Reference in New Issue