Add close to conditions processors#46653
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
5362c19 to
4b01715
Compare
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
Here's an issue I filed for this problem: #46575. I assigned it to you @leehinman given that you're already solving this. |
4b01715 to
60e65ef
Compare
|
Putting in Draft because we have to figure out the conditionals inside the script processor |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
60e65ef to
ebf7ca2
Compare
e80ce5f to
4f72efb
Compare
|
@Mergifyio backport 8.19 9.0 9.1 9.2 |
✅ Backports have been createdDetails
|
Add Close method to the conditionals processors if any of the underlying processors have a Close method, but do not add the Close method if they do not. (cherry picked from commit 9da0f31)
Add Close method to the conditionals processors if any of the underlying processors have a Close method, but do not add the Close method if they do not. (cherry picked from commit 9da0f31) # Conflicts: # libbeat/processors/conditionals.go
Add Close method to the conditionals processors if any of the underlying processors have a Close method, but do not add the Close method if they do not. (cherry picked from commit 9da0f31)
Add Close method to the conditionals processors if any of the underlying processors have a Close method, but do not add the Close method if they do not. (cherry picked from commit 9da0f31)
Add Close method to the conditionals processors if any of the underlying processors have a Close method, but do not add the Close method if they do not. (cherry picked from commit 9da0f31) Co-authored-by: Lee E Hinman <57081003+leehinman@users.noreply.github.com>
Add Close method to the conditionals processors if any of the underlying processors have a Close method, but do not add the Close method if they do not. (cherry picked from commit 9da0f31) Co-authored-by: Lee E Hinman <57081003+leehinman@users.noreply.github.com>
Add Close method to the conditionals processors if any of the underlying processors have a Close method, but do not add the Close method if they do not. (cherry picked from commit 9da0f31) Co-authored-by: Lee E Hinman <57081003+leehinman@users.noreply.github.com>
Missed check for `.els` that is nil-able. Not including a changelog because it was introduced in unreleased elastic#46653.
Missed check for `.els` that is nil-able. Not including changelog because elastic#46653 is not released.
Add Close method to the conditionals processors if any of the underlying processors have a Close method, but do not add the Close method if they do not.
## Proposed commit message Missed check for `.els` that is nil-able. Not including changelog because elastic#46653 is not released. ## Related issues - Follow-up after elastic#46653 - Related to elastic#46575
Proposed commit message
Add
Closemethod to the conditionals processors if any of the underlying processors have a Close method. Without a Close method, processor definitions like the following would not have theirClosemethod called.Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
none
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs