1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/distribution
Tibor Vass 647dfe99a5 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>
2019-09-12 18:52:49 +00:00
..
fixtures/validate_manifest
metadata
utils
xfer
config.go Revert "Remove the rest of v1 manifest support" 2019-06-18 00:36:01 +00:00
errors.go
errors_test.go
oci.go
pull.go Remove v1 manifest code 2019-06-18 01:40:25 +00:00
pull_v2.go distribution: modify warning logic when pulling v2 schema1 manifests 2019-09-12 18:52:49 +00:00
pull_v2_test.go
pull_v2_unix.go
pull_v2_windows.go
push.go Remove v1 manifest code 2019-06-18 01:40:25 +00:00
push_v2.go distribution: modify warning logic when pulling v2 schema1 manifests 2019-09-12 18:52:49 +00:00
push_v2_test.go
registry.go distribution: modify warning logic when pulling v2 schema1 manifests 2019-09-12 18:52:49 +00:00
registry_unit_test.go