From 21f96ee90f3f01f324bf8f84717d1c491a6fe17d Mon Sep 17 00:00:00 2001 From: Karol Kokoszka Date: Tue, 26 Nov 2024 18:55:47 +0100 Subject: [PATCH] review fix --- pkg/testutils/exec.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/testutils/exec.go b/pkg/testutils/exec.go index 2a76d1131..ec26d0be3 100644 --- a/pkg/testutils/exec.go +++ b/pkg/testutils/exec.go @@ -57,6 +57,7 @@ func RunIptablesCommand(t *testing.T, host, cmd string) error { // ExecOnHostStatus executes the given command on the given host and returns on error. func ExecOnHostStatus(t *testing.T, host, cmd string) error { + t.Helper() stdOut, stdErr, err := ExecOnHost(host, cmd) if err != nil { t.Logf("cnd: {%s}, stdout: {%s}, stderr: {%s}", cmd, stdOut, stdErr)