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

Fixes #25936: Port condition_from methods to log v4+ #1438

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Fdall
Copy link
Contributor

@Fdall Fdall commented Nov 22, 2024

@Fdall Fdall requested a review from amousset November 22, 2024 10:46
@Fdall
Copy link
Contributor Author

Fdall commented Nov 22, 2024

Commit modified

@Fdall Fdall force-pushed the ust_25936/port_condition_from_methods_to_log_v4 branch from 5233811 to c59489a Compare November 22, 2024 10:47
Fixes #25936: Port condition_from methods to log v4+
@Fdall
Copy link
Contributor Author

Fdall commented Nov 22, 2024

PR updated with a new commit

@@ -84,13 +80,11 @@ bundle agent condition_from_expression(condition, expression)
scope => "namespace";

methods:
"success" usebundle => _classes_success("${old_class_prefix}");
"success" usebundle => _classes_success("${report_data.method_id}");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"success" usebundle => _classes_success("${report_data.method_id}");
"${report_data.method_id}" usebundle => _classes_success("${report_data.method_id}");

for consistency I think we should always use it is promiser for methods.

Fixes #25936: Port condition_from methods to log v4+
@Fdall
Copy link
Contributor Author

Fdall commented Nov 25, 2024

PR updated with a new commit

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.

2 participants