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 #21088: Reporting issues when using multiple directives of the same technique on a node #1353
Conversation
to be merged with Normation/rudder#4269 |
"${report_data.method_id}_${name}" usebundle => call_method_classes_caller; | ||
"${report_data.method_id}_${name}" usebundle => call_method_end("ncf_services_stop"); | ||
pass3.!needs_stop:: | ||
# Define success classes is check_running was not kept | ||
"${report_data.method_id}_${name}" usebundle => _classes_success("${class_prefix}"); | ||
"${report_data.method_id}_${name}" usebundle => _classes_success("${report_data.report_id}"); |
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.
looks good, but I feel like we will have issues sooner or later with newer methods calling non-leaf methods that are defining classes on the report_id. If we handle correctly the push pop process, should'nt we be able to always define classes on the method_id and only use the report_id variable as a match for reporting?
29a2f26
to
e2b1761
Compare
PR updated with a new commit |
This PR is not mergeable to upper versions. |
OK, squash merging this PR |
you need to reabse this pr in one commit @ncharles |
…same technique on a node
666ac63
to
5ecf847
Compare
PR rebased |
OK, merging this PR |
https://issues.rudder.io/issues/21088