mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #28085 from aaronlehmann/remove-comment
distribution: Remove misleading comment
This commit is contained in:
commit
c5ceb0f945
1 changed files with 0 additions and 3 deletions
|
@ -338,9 +338,6 @@ func (p *v2Puller) pullV2Tag(ctx context.Context, ref reference.Named) (tagUpdat
|
||||||
tagOrDigest string // Used for logging/progress only
|
tagOrDigest string // Used for logging/progress only
|
||||||
)
|
)
|
||||||
if tagged, isTagged := ref.(reference.NamedTagged); isTagged {
|
if tagged, isTagged := ref.(reference.NamedTagged); isTagged {
|
||||||
// NOTE: not using TagService.Get, since it uses HEAD requests
|
|
||||||
// against the manifests endpoint, which are not supported by
|
|
||||||
// all registry versions.
|
|
||||||
manifest, err = manSvc.Get(ctx, "", distribution.WithTag(tagged.Tag()))
|
manifest, err = manSvc.Get(ctx, "", distribution.WithTag(tagged.Tag()))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, allowV1Fallback(err)
|
return false, allowV1Fallback(err)
|
||||||
|
|
Loading…
Reference in a new issue