docker/swarmkit

View on GitHub
agent/config.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Config.validate has 5 return statements (exceeds 4 allowed).
Open

func (c *Config) validate() error {
    if c.Credentials == nil {
        return errors.New("agent: Credentials is required")
    }

Severity: Major
Found in agent/config.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status