mirror of https://github.com/docker/docs.git
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> |
||
---|---|---|
.. | ||
download.go | ||
download_test.go | ||
transfer.go | ||
transfer_test.go | ||
upload.go | ||
upload_test.go |