mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 00:25:55 +00:00
Remove extraneous whitespace in JSON output
This commit is contained in:
parent
e7a605e4fe
commit
b1795eb04e
1 changed files with 1 additions and 1 deletions
|
|
@ -1284,8 +1284,8 @@ func (cmd *BagentCommand) Run(ctx context.Context) error {
|
|||
res := sbm.Run(ctx, cmd.AgentNum)
|
||||
res["metadata"] = cmd
|
||||
enc := json.NewEncoder(cmd.Stdout)
|
||||
enc.SetIndent("", " ")
|
||||
if cmd.HumanReadable {
|
||||
enc.SetIndent("", " ")
|
||||
res = bench.Prettify(res)
|
||||
}
|
||||
err = enc.Encode(res)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue