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

refactored load balancer node adding to use one request instead of se… #649

Merged

Conversation

dansoap
Copy link

@dansoap dansoap commented Jan 11, 2016

When using the SDK to add more than one node to an existing load balancer, it is very likely, that at least one request fails with a 422 (Unprocessable Entity) error, since the load balancer is in state PENDING_UPDATE after the first request has been processed.

This PR changes the call to the API so that there are not several parallel requests, but just one, adding all nodes to add in just one call.

jamiehannaford pushed a commit that referenced this pull request Jan 12, 2016
…uest

refactored load balancer node adding to use one request instead of se…
@jamiehannaford jamiehannaford merged commit 755d9ad into rackspace:working Jan 12, 2016
@jamiehannaford
Copy link
Contributor

Great idea, thanks @dansoap 🚀

@dansoap dansoap deleted the loadbalancer-add-nodes-multi-request branch March 8, 2016 21:09
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