From 57650aa5f32479944c735994286cc74e6c36452b Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Wed, 21 Oct 2020 12:22:19 -0400 Subject: manifest list inspect single image If the image name not a manifest list type, enable manifest inspect to return manifest of single image manifest type vnd.docker.distribution.manifest.v2+json. Signed-off-by: Qi Wang --- test/e2e/manifest_test.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/e2e/manifest_test.go') diff --git a/test/e2e/manifest_test.go b/test/e2e/manifest_test.go index f984345f4..29a62e5bb 100644 --- a/test/e2e/manifest_test.go +++ b/test/e2e/manifest_test.go @@ -58,6 +58,11 @@ var _ = Describe("Podman manifest", func() { session = podmanTest.PodmanNoCache([]string{"manifest", "inspect", "quay.io/libpod/busybox"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) + + // inspect manifest of single image + session = podmanTest.PodmanNoCache([]string{"manifest", "inspect", "quay.io/libpod/busybox@sha256:6655df04a3df853b029a5fac8836035ac4fab117800c9a6c4b69341bb5306c3d"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) }) It("podman manifest add", func() { -- cgit v1.2.3-54-g00ecf