7cf894ce10
The download manager assumed there was at least one layer involved in all images. This can be false if the image is essentially a copy of `scratch`. Fix a nil pointer dereference that happened in this case. Add integration tests that involve schema1 and schema2 manifests. Fixes #21213 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 | ||
registry.go | ||
registry_unit_test.go |