pkg/cluster/metrics/metrics.go
Showing 2 of 2 total issues
Method Collector.getClustersAndApps
has 81 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (collector *Collector) getClustersAndApps() ([]*item, []*appWithTags) { ctx := context.Background() // dummy user // nolint
Method Collector.getClustersAndApps
has 6 return statements (exceeds 4 allowed). Open
Open
func (collector *Collector) getClustersAndApps() ([]*item, []*appWithTags) { ctx := context.Background() // dummy user // nolint