netdata/netdata

View on GitHub
src/go/collectors/go.d.plugin/modules/zookeeper/fetcher.go

Summary

Maintainability
A
40 mins
Test Coverage

Method zookeeperFetcher.fetch has 6 return statements (exceeds 4 allowed).
Open

func (c *zookeeperFetcher) fetch(command string) (rows []string, err error) {
    if err = c.Connect(); err != nil {
        return nil, err
    }
    defer func() { _ = c.Disconnect() }()
Severity: Major
Found in src/go/collectors/go.d.plugin/modules/zookeeper/fetcher.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status