dotcloud/docker

View on GitHub
libnetwork/network_windows.go

Summary

Maintainability
A
2 hrs
Test Coverage

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

func addEpToResolverImpl(
    ctx context.Context,
    netName, epName string,
    epIface *EndpointInterface,
    resolvers []*Resolver,
Severity: Major
Found in libnetwork/network_windows.go - About 40 mins to fix

    Function addEpToResolverImpl has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        ctx context.Context,
        netName, epName string,
        epIface *EndpointInterface,
        resolvers []*Resolver,
        hnsEndpoints []hcsshim.HNSEndpoint,
    Severity: Minor
    Found in libnetwork/network_windows.go - About 35 mins to fix

      Function addEpToResolver has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          ctx context.Context,
          netName, epName string,
          config *containerConfig,
          epIface *EndpointInterface,
          resolvers []*Resolver,
      Severity: Minor
      Found in libnetwork/network_windows.go - About 35 mins to fix

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

        func deleteEpFromResolverImpl(
            epName string,
            epIface *EndpointInterface,
            resolvers []*Resolver,
            hnsEndpoints []hcsshim.HNSEndpoint,
        Severity: Major
        Found in libnetwork/network_windows.go - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status