1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/distribution
Stefan J. Wernli d14b7212ad storeLayer.Parent should return describableStoreLayers
When storeLayer.Parent returns the parent layer, it needs to use the same logic as Get where it wraps in a describablyStoreLayer if the layer is describable. Otherwise, on Windows, this can result in pushing the foreign layers, which is not supposed to be allowed.
This fixes https://github.com/docker/docker/issues/30080.

Signed-off-by: Stefan J. Wernli <swernli@microsoft.com>
2017-01-11 19:01:13 -08:00
..
fixtures/validate_manifest
metadata *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
utils Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
xfer *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
config.go storeLayer.Parent should return describableStoreLayers 2017-01-11 19:01:13 -08:00
errors.go Merge pull request #28459 from dmcgowan/plugin-repository-pinning 2016-12-08 11:28:52 -08:00
pull.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
pull_v1.go Abstract distribution interfaces from image specific types 2016-12-19 10:55:00 -08:00
pull_v2.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
pull_v2_test.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
pull_v2_unix.go
pull_v2_windows.go Windows: Add debug output to foreign layer pull 2016-09-26 08:56:34 -07:00
push.go Abstract distribution interfaces from image specific types 2016-12-19 10:55:00 -08:00
push_v1.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
push_v2.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
push_v2_test.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
registry.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
registry_unit_test.go Remove unused variable 2016-12-28 03:20:41 +08:00