From abebf4d9556b245e8515ef6842616ceafcf68217 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 7 Nov 2022 16:36:24 +0100 Subject: [PATCH] use double spaces with json marshal indent Signed-off-by: CrazyMax --- util/imagetools/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/imagetools/create.go b/util/imagetools/create.go index 2480ebb1..aaa8379a 100644 --- a/util/imagetools/create.go +++ b/util/imagetools/create.go @@ -138,7 +138,7 @@ func (r *Resolver) Combine(ctx context.Context, srcs []*Source) ([]byte, ocispec }, } - idxBytes, err := json.MarshalIndent(idx, "", " ") + idxBytes, err := json.MarshalIndent(idx, "", " ") if err != nil { return nil, ocispec.Descriptor{}, errors.Wrap(err, "failed to marshal index") }