src/go/plugin/go.d/agent/hostinfo/hostinfo_linux.go
Function getSystemdVersion
has 5 return statements (exceeds 4 allowed). Open
Open
func getSystemdVersion() int {
var reVersion = regexp.MustCompile(`[0-9][0-9][0-9]`)
conn, err := dbus.NewWithContext(context.Background())
if err != nil {