From 849914b75639f5bd469f991026b62ef6fed9e3d7 Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Tue, 9 Oct 2018 22:43:54 -0400 Subject: [PATCH] Use Sprint() instead of Sprintf() in log dedupe Uses `fmt.Sprint()` instead of `fmt.Sprintf()` for log deduplication. Fixes: #6796 --- log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.go b/log.go index 05a6b7e80..e5c07c206 100644 --- a/log.go +++ b/log.go @@ -35,7 +35,7 @@ func logOutput() (logOutput io.Writer, err error) { if strings.Contains(scanner.Text(), "ui:") { continue } - os.Stderr.WriteString(fmt.Sprintf(scanner.Text() + "\n")) + os.Stderr.WriteString(fmt.Sprint(scanner.Text() + "\n")) } }(scanner) logOutput = w