use double spaces with json marshal indent

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1396/head
CrazyMax 2 years ago
parent d1b454232d
commit abebf4d955
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -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")
}

Loading…
Cancel
Save