dotcloud/docker

View on GitHub
daemon/errors.go

Summary

Maintainability
A
45 mins
Test Coverage

Function setExitCodeFromError has 7 return statements (exceeds 4 allowed).
Open

func setExitCodeFromError(setExitCode func(exitStatus), err error) error {
    if err == nil {
        return nil
    }
    errDesc := status.Convert(err).Message()
Severity: Major
Found in daemon/errors.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status