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

FilterX: fix invalid LogMessage variables access #333

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

OverOrion
Copy link
Contributor

@OverOrion OverOrion commented Oct 11, 2024

This PR fixes accessing LogMessage type FilterX variables in case there had been changes between filterx blocks.

@OverOrion OverOrion force-pushed the filterx-context-scope-fix-minimal branch 7 times, most recently from e359d69 to 8bef0ba Compare October 15, 2024 15:40
Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
@OverOrion OverOrion force-pushed the filterx-context-scope-fix-minimal branch 2 times, most recently from 635b6f6 to 3dd8481 Compare October 16, 2024 07:42
Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
This is to better indicate the intention of synchronizing FilterX -> LogMessage.

Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
@OverOrion OverOrion force-pushed the filterx-context-scope-fix-minimal branch from 7dc6233 to e67d698 Compare October 16, 2024 14:48
…rection

Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
This will be used in _update_repr as that method should update variables with new values
regardless of their current value's validity.

Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
This is required as _update_repr should update values regardless of their current validity.

Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
These type of variables should only be returned if
they are in sync with the scope (log_msg_has_changes flag is FALSE).

Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
@OverOrion OverOrion force-pushed the filterx-context-scope-fix-minimal branch from e67d698 to 88b4238 Compare October 17, 2024 11:25
@OverOrion OverOrion marked this pull request as ready for review October 17, 2024 11:25
@OverOrion OverOrion changed the title filterx context scope fix minimal FilterX: fix invalid LogMessage variables access Oct 17, 2024
@MrAnno MrAnno self-requested a review October 17, 2024 11:34
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.

1 participant