moby--moby/distribution
Tibor Vass f9232e3f11 distribution: modify warning logic when pulling v2 schema1 manifests
The warning on pull was incorrectly asking to contact registry admins.
It is kept on push however.

Pulling manifest lists with v2 schema1 manifests will not be supported thus
there is a warning for those, but wording changed to suggest repository author
to upgrade.

Finally, a milder warning on regular pull is kept ONLY for DockerHub users
in order to incite moving away from schema1.

Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit 647dfe99a5)
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-09-19 00:46:14 +00:00
..
fixtures/validate_manifest
metadata
utils
xfer
config.go
errors.go
errors_test.go
oci.go
pull.go
pull_v2.go distribution: modify warning logic when pulling v2 schema1 manifests 2019-09-19 00:46:14 +00:00
pull_v2_test.go
pull_v2_unix.go
pull_v2_windows.go
push.go
push_v2.go distribution: modify warning logic when pulling v2 schema1 manifests 2019-09-19 00:46:14 +00: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