docker/swarmkit

View on GitHub
manager/controlapi/server.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func NewServer(store *store.MemoryStore, raft *raft.Node, securityConfig *ca.SecurityConfig, nv networkallocator.DriverValidator, dr *drivers.DriverProvider) *Server {
Severity: Minor
Found in manager/controlapi/server.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status