dotcloud/docker

View on GitHub
opts/hosts.go

Summary

Maintainability
A
40 mins
Test Coverage

Function parseTCPAddr has 6 return statements (exceeds 4 allowed).
Open

func parseTCPAddr(address string, strict bool) (*url.URL, error) {
    if !strict && !strings.Contains(address, "://") {
        address = "tcp://" + address
    }
    parsedURL, err := url.Parse(address)
Severity: Major
Found in opts/hosts.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status