Skip to content

Commit

Permalink
Fix: add nolint
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Fernandez <mariofer@redhat.com>
  • Loading branch information
marioferh committed Aug 9, 2023
1 parent 05c1dbc commit 82bab81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/framework/assertions.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ func (f *Framework) AssertResourceNeverExists(name, namespace string, resource c
}

return func(t *testing.T) {
if err := wait.PollUntilContextTimeout(context.Background(), option.PollInterval, option.WaitTimeout, true, func(ctx context.Context) (done bool, err error) {
//nolint
if err := wait.Poll(option.PollInterval, option.WaitTimeout, func() (done bool, err error) {
key := types.NamespacedName{
Name: name,
Namespace: namespace,
Expand Down

0 comments on commit 82bab81

Please sign in to comment.