dotcloud/docker

View on GitHub
cmd/dockerd/docker.go

Summary

Maintainability
A
35 mins
Test Coverage

Function newDaemonCommand has 5 return statements (exceeds 4 allowed).
Open

func newDaemonCommand() (*cobra.Command, error) {
    // FIXME(thaJeztah): config.New also looks up default binary-path, but this code is also executed when running "--version".
    cfg, err := config.New()
    if err != nil {
        return nil, err
Severity: Major
Found in cmd/dockerd/docker.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status