jkawamoto/roadie

View on GitHub
cloud/azure/auth/manual_authorizer.go

Summary

Maintainability
A
40 mins
Test Coverage

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

func requestToken(tenantID string, request url.Values) (token *adal.Token, err error) {

    res, err := http.PostForm(fmt.Sprintf(tokenEndpoint, tenantID), request)
    if err != nil {
        return
Severity: Major
Found in cloud/azure/auth/manual_authorizer.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status