moby--moby/image/tarexport
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
..
load.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
load_test.go reject null manifests 2021-02-02 09:24:53 -08:00
save.go image: remove leftover LCOW platform checks 2022-01-25 12:18:44 +01:00
tarexport.go remove layerstore indexing by OS (used for LCOW) 2021-06-10 17:49:11 +02:00