-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[filebeat][httpjson] Set url as a pointer to ensure access to all methods #28695
Conversation
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
…hods (#28695) (#28699) * Set url as a pointer to ensure access to all methods * Add changelog line * Fix text (cherry picked from commit 47dba85) Co-authored-by: Marc Guasch <[email protected]>
…hods (#28695) (#28698) * Set url as a pointer to ensure access to all methods * Add changelog line * Fix text (cherry picked from commit 47dba85) Co-authored-by: Marc Guasch <[email protected]>
…hods (elastic#28695) * Set url as a pointer to ensure access to all methods * Add changelog line * Fix text
@Mergifyio refresh |
✅ Pull request refreshed |
@Mergifyio backport 8.0 8.1 |
❌ No backport have been created
|
…hods (elastic#28695) * Set url as a pointer to ensure access to all methods * Add changelog line * Fix text (cherry picked from commit 47dba85)
…hods (elastic#28695) * Set url as a pointer to ensure access to all methods * Add changelog line * Fix text (cherry picked from commit 47dba85)
What does this PR do?
Change how
url
is stored in the request context, from value to pointer.Why is it important?
In templates methods with a pointer receiver are not available if the variable is passed by value, making access to
.url.Query
and others impossible.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.