From 25bd1f704d8c4bc30d2f7d631e76571e67743169 Mon Sep 17 00:00:00 2001 From: James Hewitt Date: Sun, 27 Mar 2022 11:04:19 +0100 Subject: [PATCH] Incorrect variable in test output Looks like a copy-paste bug from the same test for the image manifest. Signed-off-by: James Hewitt --- registry/storage/manifeststore_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/storage/manifeststore_test.go b/registry/storage/manifeststore_test.go index 769136493..3e3e86b4e 100644 --- a/registry/storage/manifeststore_test.go +++ b/registry/storage/manifeststore_test.go @@ -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()