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 #7460: Keep all outputs in disabled reporting mode #781
Fixes #7460: Keep all outputs in disabled reporting mode #781
Conversation
@@ -139,7 +139,7 @@ bundle agent rudder_common_report_index(technique_name, status, identifier, comp | |||
action => immediate; | |||
|
|||
reports: | |||
full_compliance|send_reports:: | |||
full_compliance|reports_disabled|send_reports:: |
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.
I don't like writing "print a report if reports are disabled". It just doesn't make sense.
But we do need to read these reports!
I propose instead:
!changes_only|(changes_only.send_reports)
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.
do we really want to have even success in no reports ?
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.
I think so, since you only have the outputs You are not able to understand what was done
At least in changes-only you can look into rudder compliance reporting
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.
+1 on the change, yes. It's particularly hard to debug if you only see half of the error messages!
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.
Well, messages.
PR updated |
af78763
to
77f98c8
Compare
Updated the logic to set the class to be more readable and replace send_reports by log_reports which is more accurate on the intent |
OK Merging |
…in_disabled_reporting_mode Fixes #7460: Keep all outputs in disabled reporting mode
…et_during_build Fixes #7370: make wget quiet during build
https://www.rudder-project.org/redmine/issues/7460