diff options
Diffstat (limited to 'distribution/pull_v2.go')
-rw-r--r-- | distribution/pull_v2.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/distribution/pull_v2.go b/distribution/pull_v2.go index 899ef09edb..0bef24d5f4 100644 --- a/distribution/pull_v2.go +++ b/distribution/pull_v2.go @@ -438,10 +438,6 @@ func (p *puller) pullTag(ctx context.Context, ref reference.Named, platform *spe switch v := manifest.(type) { case *schema1.SignedManifest: - if p.config.RequireSchema2 { - return false, fmt.Errorf("invalid manifest: not schema2") - } - // give registries time to upgrade to schema2 and only warn if we know a registry has been upgraded long time ago // TODO: condition to be removed if reference.Domain(ref) == "docker.io" { |