blob: 0ecc6645ee7dd243a349646dd601b5338de43a95 [file] [edit]
package config
import "github.com/docker/docker/libnetwork/osl"
// optionExecRoot on Linux sets both the controller's ExecRoot and osl.basePath.
func optionExecRoot(execRoot string) Option {
return func(c *Config) {
c.ExecRoot = execRoot
osl.SetBasePath(execRoot)
}
}