firehol/netdata

View on GitHub
src/go/plugin/go.d/modules/consul/collect.go

Summary

Maintainability
A
40 mins
Test Coverage

Method Consul.collect has 6 return statements (exceeds 4 allowed).
Open

func (c *Consul) collect() (map[string]int64, error) {
    if c.cfg == nil {
        if err := c.collectConfiguration(); err != nil {
            return nil, err
        }
Severity: Major
Found in src/go/plugin/go.d/modules/consul/collect.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status