netdata/netdata

View on GitHub
src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/classify.go

Summary

Maintainability
A
35 mins
Test Coverage

Function newClassifyRules has 5 return statements (exceeds 4 allowed).
Open

func newClassifyRules(cfg []ClassifyRuleConfig) ([]*classifyRule, error) {
    var rules []*classifyRule

    fmap := newFuncMap()

Severity: Major
Found in src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/classify.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status