Skip to content
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

fix retries for wrapped errors #1760

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

danawillow
Copy link
Contributor

Turns out this block of code:
https://github.com/terraform-providers/terraform-provider-google/blob/2ea2baaeddf555fc9bfa9b0af6fcbd6029a64c88/google/resource_google_project_services.go#L246-L307
wasn't actually retrying on quota failures (429s) because it was getting wrapped, so our retry helper saw it as as non-retryable. This fixes that.

@danawillow danawillow requested a review from paddycarver July 12, 2018 17:12
Copy link
Contributor

@paddycarver paddycarver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me, great catch.

@danawillow danawillow merged commit 8b71cec into hashicorp:master Jul 12, 2018
@danawillow danawillow deleted the serviceusage-retry branch July 12, 2018 18:19
@ghost
Copy link

ghost commented Nov 17, 2018

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants