cloudfoundry-incubator/stratos

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

Summary

Maintainability
A
45 mins
Test Coverage

Method GKEKubeAuth.FetchToken has 7 return statements (exceeds 4 allowed).
Open

func (c *GKEKubeAuth) FetchToken(cnsiRecord interfaces.CNSIRecord, ec echo.Context) (*interfaces.TokenRecord, *interfaces.CNSIRecord, error) {
    log.Debug("FetchToken (GKE)")

    // We should already have the refresh token in the body sent to us
    req := ec.Request()
Severity: Major
Found in src/jetstream/plugins/kubernetes/auth/gke.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status