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

Add Retry to LB Delete #451

Merged
merged 3 commits into from
Jan 2, 2024
Merged

Conversation

OpenGLShaders
Copy link
Contributor

Description

Add retries to delete on load balancers. Additionally upgrade this file to use retry.StateChangeConf instead of the deprecated resource.StateChangeConf.

There is an issue with the Vultr Update Load Balancer API - it sets healthcheck.path to healthcheck.protocol instead. I'm not sure where to file a bug report, but I have changed the test to work around this issue for now and added some TODO's in the LB code.

Related Issues

Fixes #398

Checklist:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you linted your code locally prior to submission?
  • Have you successfully ran tests with your changes locally?
    Yes - only for this resource. The full suite doesn't work.

@optik-aper optik-aper self-requested a review January 2, 2024 15:17
Copy link
Member

@optik-aper optik-aper left a comment

Choose a reason for hiding this comment

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

Tested and working. Thanks for the fix!

@optik-aper optik-aper merged commit bcd6a3e into vultr:master Jan 2, 2024
3 checks passed
@optik-aper optik-aper mentioned this pull request Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - Add delete retries on load balancers
2 participants