smartxworks/kopilot

View on GitHub
pkg/hub/cluster/subresources.go

Summary

Maintainability
A
35 mins
Test Coverage

Showing 1 of 1 total issue

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

func NewProxyHandler(client clientset.Interface, sessionManager SessionManager, peerManager PeerManager, key types.NamespacedName, subpath string) http.Handler {
Severity: Minor
Found in pkg/hub/cluster/subresources.go - About 35 mins to fix
    Category
    Status