mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
bb66ebd621
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> |
||
---|---|---|
.. | ||
gc.go | ||
gc_unix.go | ||
gc_windows.go | ||
worker.go |