libnetwork/network_windows.go
Function addEpToResolverImpl
has 6 return statements (exceeds 4 allowed). Open
Open
func addEpToResolverImpl(
ctx context.Context,
netName, epName string,
epIface *EndpointInterface,
resolvers []*Resolver,
Function addEpToResolverImpl
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ctx context.Context,
netName, epName string,
epIface *EndpointInterface,
resolvers []*Resolver,
hnsEndpoints []hcsshim.HNSEndpoint,
Function addEpToResolver
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ctx context.Context,
netName, epName string,
config *containerConfig,
epIface *EndpointInterface,
resolvers []*Resolver,
Function deleteEpFromResolverImpl
has 5 return statements (exceeds 4 allowed). Open
Open
func deleteEpFromResolverImpl(
epName string,
epIface *EndpointInterface,
resolvers []*Resolver,
hnsEndpoints []hcsshim.HNSEndpoint,