distribution: Remove misleading comment
| ... | ... |
@@ -338,9 +338,6 @@ func (p *v2Puller) pullV2Tag(ctx context.Context, ref reference.Named) (tagUpdat |
| 338 | 338 |
tagOrDigest string // Used for logging/progress only |
| 339 | 339 |
) |
| 340 | 340 |
if tagged, isTagged := ref.(reference.NamedTagged); isTagged {
|
| 341 |
- // NOTE: not using TagService.Get, since it uses HEAD requests |
|
| 342 |
- // against the manifests endpoint, which are not supported by |
|
| 343 |
- // all registry versions. |
|
| 344 | 341 |
manifest, err = manSvc.Get(ctx, "", distribution.WithTag(tagged.Tag())) |
| 345 | 342 |
if err != nil {
|
| 346 | 343 |
return false, allowV1Fallback(err) |