From 3fb3b0781bb98b2bc8a8541b1c2ae906d0ebfafa Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 17 Mar 2024 21:18:21 +0100 Subject: [PATCH] Remove indent so that every rawjson message is printed in one line. Signed-off-by: Felix Fontein --- util/progress/progressui/display.go | 1 - 1 file changed, 1 deletion(-) diff --git a/util/progress/progressui/display.go b/util/progress/progressui/display.go index 722fb77c6414..a8177607e801 100644 --- a/util/progress/progressui/display.go +++ b/util/progress/progressui/display.go @@ -285,7 +285,6 @@ type rawJSONDisplay struct { // output of status update events. func newRawJSONDisplay(w io.Writer, opts ...DisplayOpt) Display { enc := json.NewEncoder(w) - enc.SetIndent("", " ") return Display{ disp: &rawJSONDisplay{ enc: enc,