From 4a4342890f6e5c25db7d80c607dcc47ce746dea6 Mon Sep 17 00:00:00 2001 From: viovanov Date: Thu, 7 Oct 2021 22:54:36 +0300 Subject: [PATCH] Don't filter out layers based on expected media type --- pkg/app/pull.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/app/pull.go b/pkg/app/pull.go index 43c4185..d3230cd 100644 --- a/pkg/app/pull.go +++ b/pkg/app/pull.go @@ -60,9 +60,7 @@ func (c *PolicyApp) Pull(userRef string) error { }, }) - allowedMediaTypes := []string{MediaTypeImageLayer, MediaTypeConfig} opts := []oras.PullOpt{ - oras.WithAllowedMediaTypes(allowedMediaTypes), oras.WithContentProvideIngester(ociStore), } _, descriptors, err := oras.Pull(c.Context, resolver, ref, ociStore,