moby--moby/distribution
Brian Goff 100d240d86
Move schema1 deprecation notice
Currently we show this deprecation notice for any error returned by a
registry.
Registries can return an error for any number of reasons.
Instead let's show the deprecation notice only if the fallback was
successful.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 6859bc7eee)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-03-12 20:30:57 +01:00
..
fixtures/validate_manifest
metadata
utils
xfer
config.go Revert "Remove the rest of v1 manifest support" 2019-06-18 18:54:57 +00:00
errors.go
errors_test.go
pull.go Remove v1 manifest code 2019-06-18 18:54:59 +00:00
pull_v2.go Use ocischema package instead of custom handler 2019-10-14 23:06:05 +02:00
pull_v2_test.go Improve 'no matching manifest' error 2019-01-15 18:24:15 +01:00
pull_v2_unix.go Improve 'no matching manifest' error 2019-01-15 18:24:15 +01:00
pull_v2_windows.go Improve 'no matching manifest' error 2019-01-15 18:24:15 +01:00
push.go Remove v1 manifest code 2019-06-18 18:54:59 +00:00
push_v2.go Move schema1 deprecation notice 2020-03-12 20:30:57 +01:00
push_v2_test.go
registry.go distribution: modify warning logic when pulling v2 schema1 manifests 2019-09-19 00:46:14 +00:00
registry_unit_test.go