91a3a95385
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>
8 lines
257 B
Go
8 lines
257 B
Go
package config
|
|
|
|
// FIXME(thaJeztah): ExecRoot is only used for Controller.startExternalKeyListener(), but "libnetwork-setkey" is only implemented on Linux.
|
|
func optionExecRoot(execRoot string) Option {
|
|
return func(c *Config) {
|
|
c.ExecRoot = execRoot
|
|
}
|
|
}
|