dotcloud/docker

View on GitHub
daemon/config/config_linux.go

Summary

Maintainability
A
40 mins
Test Coverage

Method Config.ValidatePlatformConfig has 6 return statements (exceeds 4 allowed).
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")
        }
Severity: Major
Found in daemon/config/config_linux.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status