src/jetstream/plugins/kubernetes/auth/gke.go
Method GKEKubeAuth.FetchToken
has 7 return statements (exceeds 4 allowed). Open
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()