moby/distribution
Aaron Lehmann 7cf894ce10 Fix pulling images that contain no layers at all
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>
2016-03-15 11:10:03 -07:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata Changes cross-repository blob mounting to a blob Create option 2016-01-14 14:26:03 -08:00
xfer Fix pulling images that contain no layers at all 2016-03-15 11:10:03 -07:00
errors.go distribution: errors: do not retry if no credentials provided 2016-03-12 20:41:47 +01:00
pull.go Login update and endpoint refactor 2016-03-01 11:52:32 -08:00
pull_v1.go Push/pull errors improvement and cleanup 2016-02-11 16:28:56 -08:00
pull_v2.go Smarter push/pull TLS fallback 2016-02-12 13:47:48 -08:00
pull_v2_test.go Windows CI Unit Test: Distribution turn off failing tests 2016-02-28 20:02:51 -08:00
pull_v2_unix.go Add distribution package 2015-11-24 09:40:24 -08:00
pull_v2_windows.go Add distribution package 2015-11-24 09:40:24 -08:00
push.go Login update and endpoint refactor 2016-03-01 11:52:32 -08:00
push_v1.go Remove unused ctx from v1Pusher 2016-03-02 07:59:12 -08:00
push_v2.go Fix concurrent uploads that share layers 2016-03-01 11:14:44 -08:00
registry.go Add support for identity token with token handler 2016-03-09 13:47:57 -08:00
registry_unit_test.go Change APIEndpoint to contain the URL in a parsed format 2016-02-17 17:48:15 -08:00