forked from TrueCloudLab/distribution
Update testutil/manifests.go
Co-authored-by: Kyle Squizzato <ksquizz@gmail.com> Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
This commit is contained in:
parent
61e576f3d0
commit
f3eb91cf85
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ func MakeSchema2Manifest(repository distribution.Repository, digests []digest.Di
|
||||||
|
|
||||||
d, err := blobStore.Put(ctx, schema2.MediaTypeImageConfig, configJSON)
|
d, err := blobStore.Put(ctx, schema2.MediaTypeImageConfig, configJSON)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("unexpected error storing content in blobstore %v", err)
|
return nil, fmt.Errorf("unexpected error storing content in blobstore: %v", err)
|
||||||
}
|
}
|
||||||
builder := schema2.NewManifestBuilder(d, configJSON)
|
builder := schema2.NewManifestBuilder(d, configJSON)
|
||||||
for _, digest := range digests {
|
for _, digest := range digests {
|
||||||
|
|
Loading…
Reference in a new issue