cloudfoundry/stratos

View on GitHub
src/jetstream/plugins/kubernetes/auth/azure.go

Summary

Maintainability
A
35 mins
Test Coverage

Method AzureKubeAuth.FetchToken has 5 return statements (exceeds 4 allowed).
Open

func (p *AzureKubeAuth) FetchToken(cnsiRecord interfaces.CNSIRecord, ec echo.Context) (*interfaces.TokenRecord, *interfaces.CNSIRecord, error) {
    req := ec.Request()

    // Need to extract the parameters from the request body
    defer req.Body.Close()
Severity: Major
Found in src/jetstream/plugins/kubernetes/auth/azure.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status