portainer/portainer

View on GitHub
api/git/update/validate.go

Summary

Maintainability
A
35 mins
Test Coverage

Function ValidateAutoUpdateSettings has 5 return statements (exceeds 4 allowed).
Open

func ValidateAutoUpdateSettings(autoUpdate *portainer.AutoUpdateSettings) error {
    if autoUpdate == nil {
        return nil
    }

Severity: Major
Found in api/git/update/validate.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status