mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
99c59d5988
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> |
||
---|---|---|
.. | ||
fixtures/validate_manifest | ||
metadata | ||
xfer | ||
errors.go | ||
pull.go | ||
pull_v1.go | ||
pull_v2.go | ||
pull_v2_test.go | ||
pull_v2_unix.go | ||
pull_v2_windows.go | ||
push.go | ||
push_v1.go | ||
push_v2.go | ||
push_v2_test.go | ||
registry.go | ||
registry_unit_test.go |