firehol/netdata

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

Summary

Maintainability
A
40 mins
Test Coverage

Function parsePostqueueOutput has 6 return statements (exceeds 4 allowed).
Open

func parsePostqueueOutput(bs []byte) (*postqueueStats, error) {
    if len(bs) == 0 {
        return nil, errors.New("empty postqueue output")
    }

Severity: Major
Found in src/go/plugin/go.d/modules/postfix/collect.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status