Browse code

Merge pull request #28085 from aaronlehmann/remove-comment

distribution: Remove misleading comment

Sebastiaan van Stijn authored on 2016/11/05 11:57:57
Showing 1 changed files
... ...
@@ -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)