contrib/promexporter/exporters/util.go
Method exporter.getAllTokens
has 5 return statements (exceeds 4 allowed). Open
Open
func (e *exporter) getAllTokens(parentCtx context.Context) (allTokens Tokens, err error) {
allTokens = []TokenConfig{}
ctx, span := e.metrics.Tracer().Start(parentCtx, "get_all_tokens")