daemon/config/config_linux.go
Method Config.ValidatePlatformConfig
has 6 return statements (exceeds 4 allowed). Open
Open
func (conf *Config) ValidatePlatformConfig() error {
if conf.EnableUserlandProxy {
if conf.UserlandProxyPath == "" {
return errors.New("invalid userland-proxy-path: userland-proxy is enabled, but userland-proxy-path is not set")
}