Skip to content

[snapshot-controller] Do not modify error when retrying PVC finalizer removal #8

New issue

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

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

Fricounet
Copy link

What this PR does / why we need it:

The RetryOnConflict function only retries the update of an object if the retured error is an unmodified 429 error. This commit fixes the retry to modify the error into a controllerUpdateError only after the RetryOnConflict function finishes.

… removal

The `RetryOnConflict` function only retries the update of an object if the retured error is an unmodified 429 error. This commit fixes the retry to modify the error into a `controllerUpdateError` only after the `RetryOnConflict` function finishes.
@Fricounet Fricounet merged commit 2d92bd7 into datadog Sep 13, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants