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

use double spaces with json marshal indent
This commit is contained in:
Tõnis Tiigi
2022-11-16 14:54:13 -08:00
committed by GitHub

View File

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