netdata/netdata

View on GitHub
src/go/collectors/go.d.plugin/agent/hostinfo/hostinfo_linux.go

Summary

Maintainability
A
35 mins
Test Coverage

Function getSystemdVersion has 5 return statements (exceeds 4 allowed).
Open

func getSystemdVersion() int {
    var reVersion = regexp.MustCompile(`[0-9][0-9][0-9]`)

    conn, err := dbus.NewWithContext(context.Background())
    if err != nil {
Severity: Major
Found in src/go/collectors/go.d.plugin/agent/hostinfo/hostinfo_linux.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status