1
0
mirror of https://github.com/distribution/distribution synced 2024-11-06 19:35:52 +01:00

Merge pull request #3613 from Jamstah/storage-test-fix

Incorrect variable in test output
This commit is contained in:
Milos Gajdos 2022-03-27 16:17:10 +01:00 committed by GitHub
commit e277c5cde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -529,7 +529,7 @@ func testOCIManifestStorage(t *testing.T, testname string, includeMediaTypes boo
}
if fetchedIndex.MediaType != indexMediaType {
t.Fatalf("%s: unexpected MediaType for result, %s", testname, fetchedManifest.MediaType)
t.Fatalf("%s: unexpected MediaType for result, %s", testname, fetchedIndex.MediaType)
}
payloadMediaType, _, err = fromStore.Payload()