buildctl: indent metadata json output

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
master
CrazyMax 2022-02-11 09:38:41 +01:00
parent 45fc3ed510
commit 1d17f97a0b
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ func writeMetadataFile(filename string, exporterResponse map[string]string) erro
} }
out[k] = json.RawMessage(dt) out[k] = json.RawMessage(dt)
} }
b, err := json.Marshal(out) b, err := json.MarshalIndent(out, "", " ")
if err != nil { if err != nil {
return err return err
} }