mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-19 01:47:43 +08:00
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 {
|
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…
x
Reference in New Issue
Block a user