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:
David van der Spek 2023-05-19 15:38:09 +02:00
parent 61e576f3d0
commit f3eb91cf85

View file

@ -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 {