1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder
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
..
builder-next distribution: xfer.LayerDownloadManager.Download(): remove "os" argument 2022-01-21 15:07:55 +01:00
dockerfile refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
dockerignore
remotecontext refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
builder.go