xmidt-org/themis

View on GitHub
routes.go

Summary

Maintainability
A
40 mins
Test Coverage

Function CheckServerRequirements has 6 return statements (exceeds 4 allowed).
Open

func CheckServerRequirements(k KeyRoutesIn, i IssuerRoutesIn, c ClaimsRoutesIn) error {
    if k.Router != nil && i.Router != nil {
        // all good ... no need to check anything else
        return nil
    }
Severity: Major
Found in routes.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status