firehol/netdata

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

Summary

Maintainability
A
35 mins
Test Coverage

Method Tengine.collect has 5 return statements (exceeds 4 allowed).
Open

func (t *Tengine) collect() (map[string]int64, error) {
    req, err := web.NewHTTPRequest(t.RequestConfig)
    if err != nil {
        return nil, fmt.Errorf("failed to create HTTP request: %w", err)
    }
Severity: Major
Found in src/go/plugin/go.d/modules/tengine/collect.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status