moby/libnetwork/config
Sebastiaan van Stijn 91a3a95385
libnetwork/options: OptionExecRoot: skip osl.SetBasePath on non-Linux
The basepath is only used on Linux, so no need to call it on other
platforms. SetBasePath was already stubbed out on other platforms,
but "osl" was still imported in various places where it was not actually
used, so trying to reduce imports to get a better picture of what parts
are used (and not used).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-12 15:29:20 +02:00
..
config.go libnetwork/options: OptionExecRoot: skip osl.SetBasePath on non-Linux 2023-08-12 15:29:20 +02:00
config_freebsd.go libnetwork/options: OptionExecRoot: skip osl.SetBasePath on non-Linux 2023-08-12 15:29:20 +02:00
config_linux.go libnetwork/options: OptionExecRoot: skip osl.SetBasePath on non-Linux 2023-08-12 15:29:20 +02:00
config_test.go libnetwork/config: remove IsValidName utility 2023-07-16 19:42:44 +02:00
config_unsupported.go libnetwork/options: OptionExecRoot: skip osl.SetBasePath on non-Linux 2023-08-12 15:29:20 +02:00