Skip to content

Commit 6f74095

Browse files
authored
Merge PR #3831: Move indent for json output to 2 spaces
1 parent e236607 commit 6f74095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/context/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func (ctx CLIContext) PrintOutput(toPrint fmt.Stringer) (err error) {
259259

260260
case "json":
261261
if ctx.Indent {
262-
out, err = ctx.Codec.MarshalJSONIndent(toPrint, "", " ")
262+
out, err = ctx.Codec.MarshalJSONIndent(toPrint, "", " ")
263263
} else {
264264
out, err = ctx.Codec.MarshalJSON(toPrint)
265265
}

0 commit comments

Comments
 (0)