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