dotcloud/docker

View on GitHub
daemon/listeners/listeners_linux.go

Summary

Maintainability
A
1 hr
Test Coverage

Function listenFD has 8 return statements (exceeds 4 allowed).
Open

func listenFD(addr string, tlsConfig *tls.Config) ([]net.Listener, error) {
    var (
        err       error
        listeners []net.Listener
    )
Severity: Major
Found in daemon/listeners/listeners_linux.go - About 50 mins to fix

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

    func Init(proto, addr, socketGroup string, tlsConfig *tls.Config) ([]net.Listener, error) {
        ls := []net.Listener{}
    
        switch proto {
        case "fd":
    Severity: Major
    Found in daemon/listeners/listeners_linux.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status