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 logic when contacting the REST API for listing ACL resources #274

Merged

Conversation

cjdaniel
Copy link
Contributor

Add a simple retry loop when querying the REST API for building ACL resources, and add resource param api_tries for adjusting the number of retries. Should fix #193.

(Also add protocol argument to these methods -- somehow when I was working with this, a bug came up where it started complaining about protocol being missing, and I didn't see how it could have done without it in the past. Please let me know if this needs fixing, or separating to a different PR ...)

@solarkennedy
Copy link
Contributor

Looks good. Thanks!

@solarkennedy solarkennedy merged commit b5329b0 into voxpupuli:master Aug 16, 2016
@cjdaniel cjdaniel deleted the add_retry_to_list_resources branch August 16, 2016 18:05
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.

consul_acl makes api call before ACL api is available
2 participants