Skip to content

Commit

Permalink
e2e/global: fix n-constant format string in call (govet)
Browse files Browse the repository at this point in the history
    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 9c87891)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Aug 26, 2024
1 parent 002cfcd commit 4b71d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/global/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 4b71d0d

Please sign in to comment.