portainer/portainer

View on GitHub
api/http/handler/edgestacks/utils_update_stack_version.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Handler.updateStackVersion has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (handler *Handler) updateStackVersion(stack *portainer.EdgeStack, deploymentType portainer.EdgeStackDeploymentType, config []byte, oldGitHash string, relatedEnvironmentsIDs []portainer.EndpointID) error {
Severity: Minor
Found in api/http/handler/edgestacks/utils_update_stack_version.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status