dotcloud/docker

View on GitHub
distribution/errors.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func retryOnError(err error) error {
    switch v := err.(type) {
    case errcode.Errors:
        if len(v) != 0 {
            return retryOnError(v[0])
Severity: Major
Found in distribution/errors.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status