firehol/netdata

View on GitHub
src/go/plugin/go.d/modules/k8s_state/cluster_meta.go

Summary

Maintainability
A
40 mins
Test Coverage

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

func doMetaGKEHTTPReq(client *http.Client, url string) (string, error) {
    req, err := http.NewRequest(http.MethodGet, url, nil)
    if err != nil {
        return "", err
    }
Severity: Major
Found in src/go/plugin/go.d/modules/k8s_state/cluster_meta.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status