Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
Update e2e/pkg/poll/poll.go
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Ilario <filario@redhat.com>
  • Loading branch information
filariow authored Oct 7, 2024
1 parent 210a0f3 commit b64dd0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/pkg/poll/poll.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ func WaitForConditionImmediately(ctx context.Context, condition func(ctx context
// second. These can be overridden with the `E2E_POLL_TIMEOUT` and
// `E2E_POLL_STEP_DURATION` environment variables.
//
// The errors returned by the invocations of the `condition` function are handled and
// and used in to return a Joined error if timeout is hit.
// The errors returned by the invocations of the `condition` function are collected and
// -if timeout is hit- returned as a Joined error.
func WaitForConditionImmediatelyJoiningErrors(ctx context.Context, condition func(ctx context.Context) (bool, error)) error {
errs := []error{}
err := WaitForConditionImmediately(ctx, func(ctx context.Context) (bool, error) {
Expand Down

0 comments on commit b64dd0a

Please sign in to comment.