From f6cd593862c8ab77de7c7edc530fbe0939882c99 Mon Sep 17 00:00:00 2001 From: Holger Obermaier <40787752+ho-ob@users.noreply.github.com> Date: Mon, 9 Feb 2026 13:03:23 +0100 Subject: [PATCH] Fix: There is no need to wait for command completion --- collectors/lustreMetric.go | 1 - 1 file changed, 1 deletion(-) diff --git a/collectors/lustreMetric.go b/collectors/lustreMetric.go index 964d163..23bf9ae 100644 --- a/collectors/lustreMetric.go +++ b/collectors/lustreMetric.go @@ -62,7 +62,6 @@ func (m *LustreCollector) getDeviceDataCommand(device string) []string { } else { command = exec.Command(m.lctl, LCTL_OPTION, statsfile) } - command.Wait() stdout, _ := command.Output() return strings.Split(string(stdout), "\n") }