portainer/portainer

View on GitHub
api/http/server.go

Summary

Maintainability
C
7 hrs
Test Coverage

Method Server.Start has 211 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (server *Server) Start() error {
    kubernetesTokenCacheManager := server.KubernetesTokenCacheManager

    requestBouncer := security.NewRequestBouncer(server.DataStore, server.JWTService, server.APIKeyService)

Severity: Major
Found in api/http/server.go - About 7 hrs to fix

    There are no issues that match your filters.

    Category
    Status