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 <github@gone.nl>
(cherry picked from commit 9c87891278)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2024-08-26 13:54:05 +02:00
parent 002cfcde85
commit 4b71d0d1af
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ func TestPromptExitCode(t *testing.T) {
default: default:
if err := bufioWriter.Flush(); err != nil { if err := bufioWriter.Flush(); err != nil {
return poll.Continue(err.Error()) return poll.Continue("%v", err)
} }
if strings.Contains(buf.String(), "[y/N]") { if strings.Contains(buf.String(), "[y/N]") {
return poll.Success() return poll.Success()