moby--moby/image
Sebastiaan van Stijn 1ef0a5bb91
image: remove leftover LCOW platform checks
This removes some of the checks that were added in 0cba7740d4,
but should no longer be needed.

- `image/store.Delete()`: no need to validate image platform to delete it.
- `image/tarexporter/takeLayerReference()`: use `image.OperatingSystem()` and
  fail early to prevent constructing the `ChainID()`.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-01-25 12:18:44 +01:00
..
cache Add canonical import comment 2018-02-05 16:51:57 -05:00
spec fix image spec JSON example 2021-11-22 23:37:23 +08:00
tarexport image: remove leftover LCOW platform checks 2022-01-25 12:18:44 +01:00
v1 goimports: fix imports 2019-09-18 12:56:54 +02:00
fs.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fs_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
image.go Fix spurious error from "docker load" 2021-01-21 22:04:23 +00:00
image_test.go Fix spurious error from "docker load" 2021-01-21 22:04:23 +00:00
rootfs.go image: do actual RootFS.DiffIDs copying in Clone() 2019-03-18 01:05:40 +03:00
store.go image: remove leftover LCOW platform checks 2022-01-25 12:18:44 +01:00
store_test.go remove layerstore indexing by OS (used for LCOW) 2021-06-10 17:49:11 +02:00