moby--moby/distribution
Aaron Lehmann 99c59d5988 distribution: Remove misleading comment
Remove the following comment in pullV2Tag:

// NOTE: not using TagService.Get, since it uses HEAD requests
// against the manifests endpoint, which are not supported by
// all registry versions.

This is actually not an issue, because TagService.Get does a fallback to
GET if HEAD fails. It has done this ever since TagService was added to
the distribution API, so this comment was probably based on an early
version of TagService before it was merged, or was always a
misunderstanding.

However, we continue to use ManifestService.Get instead because it
saves a round trip. The manifest can be retrieved directly instead of
resolving the digest first.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-11-04 17:10:47 -07:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata Allow to mock V2MetadataService in unit tests 2016-09-29 14:16:00 +02:00
xfer Adds ability to squash image after build 2016-11-01 13:41:59 -04:00
errors.go swarm/controller: allow cancellation to propagate 2016-07-25 18:31:24 -07:00
pull.go Generalize content addressable and reference storage 2016-09-15 18:08:19 -07:00
pull_v1.go Generalize content addressable and reference storage 2016-09-15 18:08:19 -07:00
pull_v2.go distribution: Remove misleading comment 2016-11-04 17:10:47 -07:00
pull_v2_test.go In error, the first letter is low-case letter 2016-09-23 17:30:13 +08:00
pull_v2_unix.go Removing old custom RootFS behavior on Windows. 2016-07-29 14:15:59 -07:00
pull_v2_windows.go Windows: Add debug output to foreign layer pull 2016-09-26 08:56:34 -07:00
push.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
push_v1.go Generalize content addressable and reference storage 2016-09-15 18:08:19 -07:00
push_v2.go Merge pull request #26564 from miminar/prevent-blob-uploads 2016-10-01 12:53:10 +02:00
push_v2_test.go Different number of retries for layers of different sizes 2016-09-29 14:16:01 +02:00
registry.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
registry_unit_test.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00