Skip to content

Commit 92353ab

Browse files
jcolliealexellis
authored andcommitted
Don't use Printf if we aren't prefixing the logs.
Signed-off-by: Jeffrey C. Ollie <[email protected]>
1 parent 7809452 commit 92353ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

executor/logging.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func bindLoggingPipe(name string, pipe io.Reader, output io.Writer, logPrefix bo
3333
if logPrefix {
3434
logger.Printf("%s: %s", name, scanner.Text())
3535
} else {
36-
logger.Printf("%s", scanner.Text())
36+
logger.Print(scanner.Text())
3737
}
3838
}
3939
if err := scanner.Err(); err != nil {

0 commit comments

Comments
 (0)