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 api.DefaultConfigWithClient which allows to specify custom http clients. #4987

Closed
wants to merge 1 commit into from
Closed

Add api.DefaultConfigWithClient which allows to specify custom http clients. #4987

wants to merge 1 commit into from

Conversation

VoyTechnology
Copy link

There is no functionality change for existing clients.

This change would allow for better testing of API, especially using httptest package, which requires that a custom client is provided to capture the requests.

There is no functionality change for existing clients.
@nickethier
Copy link
Member

Hey @VoyTechnology sorry this was overlooked during our push to complete the work for the 0.9 release. If you could rebase against master and complete the CLA that would be great! https://cla.hashicorp.com/hashicorp/nomad?pullRequest=4987

@VoyTechnology
Copy link
Author

@nickethier thanks for the response. I noticed #5275 adds the same functionality in a different way, and since the other change is in 0.9.2 I'll close this PR.

@VoyTechnology VoyTechnology deleted the api-custom-client branch June 5, 2019 16:53
@github-actions
Copy link

github-actions bot commented Feb 9, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants