From 4b71d0d1af6d82985c003df67d25584307286666 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 26 Aug 2024 13:54:05 +0200 Subject: [PATCH] e2e/global: fix n-constant format string in call (govet) e2e/global/cli_test.go:217:28: printf: non-constant format string in call to gotest.tools/v3/poll.Continue (govet) return poll.Continue(err.Error()) ^ Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 9c87891278389dec9af8faac751a35bf4931f7c6) Signed-off-by: Sebastiaan van Stijn --- e2e/global/cli_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/global/cli_test.go b/e2e/global/cli_test.go index 91d507eb70..21b964d40b 100644 --- a/e2e/global/cli_test.go +++ b/e2e/global/cli_test.go @@ -214,7 +214,7 @@ func TestPromptExitCode(t *testing.T) { default: if err := bufioWriter.Flush(); err != nil { - return poll.Continue(err.Error()) + return poll.Continue("%v", err) } if strings.Contains(buf.String(), "[y/N]") { return poll.Success()