netdata/netdata

View on GitHub
src/go/collectors/go.d.plugin/modules/httpcheck/httpcheck.go

Summary

Maintainability
A
35 mins
Test Coverage

Method HTTPCheck.Init has 5 return statements (exceeds 4 allowed).
Open

func (hc *HTTPCheck) Init() error {
    if err := hc.validateConfig(); err != nil {
        hc.Errorf("config validation: %v", err)
        return err
    }
Severity: Major
Found in src/go/collectors/go.d.plugin/modules/httpcheck/httpcheck.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status