-
Notifications
You must be signed in to change notification settings - Fork 148
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
Fixes http.Verifier so it uses its http client #4270
Fixes http.Verifier so it uses its http client #4270
Conversation
This pull request does not have a backport label. Could you fix it @AndersonQ? 🙏
NOTE: |
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
also add test with proxy for the downloader and verifier.
b4bc672
to
ef96788
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks good, crazy it had a TODO over the line and already had the client in the verifier.
...ent-did-not-utilize-the-download-settings-when-downloading-the-artifact-signature-file..yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the small issue in changelog fragment, everything else looks good
…c-Agent-did-not-utilize-the-download-settings-when-downloading-the-artifact-signature-file..yaml Co-authored-by: Blake Rouse <[email protected]>
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
also add test with proxy for the Verifier. (cherry picked from commit 1d63dde)
also add test with proxy for the Verifier. (cherry picked from commit 1d63dde)
also add test with proxy for the Verifier. (cherry picked from commit 1d63dde) Co-authored-by: Anderson Queiroz <[email protected]> Co-authored-by: Pierre HILBERT <[email protected]>
also add test with proxy for the Verifier. (cherry picked from commit 1d63dde) Co-authored-by: Anderson Queiroz <[email protected]>
What does this PR do?
Changes the http.Verifier to use its http.Client and extend the tests to also test it uses the proxy.
Why is it important?
The http.Verifier was using the default http client, which does not have the user defined settings.
Checklist
[ ] I have commented my code, particularly in hard-to-understand areas[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files./changelog/fragments
using the changelog tool[ ] I have added an integration test or an E2E testHow to test this PR locally
follow the Steps to Reproduce from #4237
Related issues
Questions to ask yourself