We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From https://github.com/c1moore/retry-go/blob/063f78a88594e87168af0d800eac16839b533bcb/retry.go#L99, looks like the retryIf func is not called at all when attempt is set to 0, and I saw the same thing in my code. Is this intended or does it need to be fixed?
The text was updated successfully, but these errors were encountered:
I have the same behavior and would expect that it retries as long as the RetryIf returns true
RetryIf
Sorry, something went wrong.
I agree. It's a bug.
I wonder if this causes #83
Successfully merging a pull request may close this issue.
From https://github.com/c1moore/retry-go/blob/063f78a88594e87168af0d800eac16839b533bcb/retry.go#L99, looks like the retryIf func is not called at all when attempt is set to 0, and I saw the same thing in my code. Is this intended or does it need to be fixed?
The text was updated successfully, but these errors were encountered: