mirror of https://github.com/docker/buildx.git
Merge pull request #1396 from crazy-max/fix-indent
use double spaces with json marshal indent
This commit is contained in:
commit
aa1f4389b1
|
@ -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…
Reference in New Issue