portainer/portainer

View on GitHub
api/http/proxy/manager.go

Summary

Maintainability
A
1 hr
Test Coverage

Method Manager.NewProxyFactory has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (manager *Manager) NewProxyFactory(dataStore dataservices.DataStore, signatureService portainer.DigitalSignatureService, tunnelService portainer.ReverseTunnelService, clientFactory *dockerclient.ClientFactory, kubernetesClientFactory *cli.ClientFactory, kubernetesTokenCacheManager *kubernetes.TokenCacheManager, gitService portainer.GitService, snapshotService portainer.SnapshotService) {
Severity: Major
Found in api/http/proxy/manager.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status