buildctl: indent metadata json output
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>master
parent
45fc3ed510
commit
1d17f97a0b
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue