From 5bedfd409d0c6f0126c9f483b4c5204d81789e3f Mon Sep 17 00:00:00 2001 From: WangFengTu Date: Fri, 29 Nov 2019 03:21:02 -0500 Subject: [PATCH 31/40] SWR response "406: Not Acceptable" if oci image in first Signed-off-by: WangFengTu --- vendor/github.com/containers/image/manifest/manifest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/github.com/containers/image/manifest/manifest.go b/vendor/github.com/containers/image/manifest/manifest.go index ae1921b..6dfb796 100644 --- a/vendor/github.com/containers/image/manifest/manifest.go +++ b/vendor/github.com/containers/image/manifest/manifest.go @@ -33,11 +33,11 @@ const ( // DefaultRequestedManifestMIMETypes is a list of MIME types a types.ImageSource // should request from the backend unless directed otherwise. var DefaultRequestedManifestMIMETypes = []string{ - imgspecv1.MediaTypeImageManifest, DockerV2Schema2MediaType, DockerV2Schema1SignedMediaType, DockerV2Schema1MediaType, DockerV2ListMediaType, + imgspecv1.MediaTypeImageManifest, } // Manifest is an interface for parsing, modifying image manifests in isolation. -- 2.19.1