Skip to content

Commit

Permalink
Don't filter out layers based on expected media type
Browse files Browse the repository at this point in the history
  • Loading branch information
viovanov committed Oct 7, 2021
1 parent d1d4d32 commit 4a43428
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/app/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4a43428

Please sign in to comment.