mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
495d623ae5
Some registries seem to be non-conformant and return a not found error when pulling by digest (which docker now does all the time). To work around this, fallback when all of the following are true: 1. Image reference is a tag 2. Tag->digest resolution succeeds 3. Fetch by resolved digest fails with a "not found" error. This is intentionally not caching the manifests to reduce complexity for this edge case. Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
fixtures/validate_manifest | ||
metadata | ||
utils | ||
xfer | ||
config.go | ||
errors.go | ||
errors_test.go | ||
manifest.go | ||
manifest_test.go | ||
pull.go | ||
pull_v2.go | ||
pull_v2_test.go | ||
pull_v2_unix.go | ||
pull_v2_windows.go | ||
push.go | ||
push_v2.go | ||
push_v2_test.go | ||
registry.go | ||
registry_unit_test.go |