moby--moby/builder/builder-next/adapters
Sebastiaan van Stijn bb66ebd621
distribution: xfer.LayerDownloadManager.Download(): remove "os" argument
This argument was added for LCOW support, but it was only used to verify if
the passed platform (OS) matched the host. Given that all uses of this function
(except for one) passed runtime.GOOS, we may as well move the check to that
location.

We should do more cleaning up after this, and perform such validations early,
instead of passing platform around in too many places where it's only used for
similar validations. This is a first step in that direction.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-01-21 15:07:55 +01:00
..
containerimage distribution: xfer.LayerDownloadManager.Download(): remove "os" argument 2022-01-21 15:07:55 +01:00
localinlinecache builder: fix incorrect cache match for inline cache with empty layers 2021-02-25 01:49:22 +00:00
snapshot if-return: redundant if ...; err != nil check (revive) 2021-06-10 13:03:40 +02:00