netdata/netdata

View on GitHub
src/go/collectors/go.d.plugin/modules/whoisquery/provider.go

Summary

Maintainability
A
35 mins
Test Coverage

Method fromNet.remainingTime has 5 return statements (exceeds 4 allowed).
Open

func (f *fromNet) remainingTime() (float64, error) {
    raw, err := f.client.Whois(f.domainAddress)
    if err != nil {
        return 0, err
    }
Severity: Major
Found in src/go/collectors/go.d.plugin/modules/whoisquery/provider.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status