portainer/portainer

View on GitHub
api/docker/client/client.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func createAgentClient(endpoint *portainer.Endpoint, endpointURL string, signatureService portainer.DigitalSignatureService, nodeName string, timeout *time.Duration) (*client.Client, error) {
Severity: Minor
Found in api/docker/client/client.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status