Merge pull request #1396 from crazy-max/fix-indent

use double spaces with json marshal indent
pull/1414/head
Tõnis Tiigi 2 years ago committed by GitHub
commit aa1f4389b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 { if err != nil {
return nil, ocispec.Descriptor{}, errors.Wrap(err, "failed to marshal index") return nil, ocispec.Descriptor{}, errors.Wrap(err, "failed to marshal index")
} }

Loading…
Cancel
Save