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 #9458: Invalid display in compliance for non-compliant report: shows "Not applicable" when not compliance #1306

Conversation

ncharles
Copy link
Member

@@ -104,13 +104,17 @@ object ReportType {
case (_, BadPolicyMode) | (BadPolicyMode, _) => BadPolicyMode
Copy link
Member

Choose a reason for hiding this comment

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

You will have to change the start case above to AuditNotApplicable, else we will always get EnforceNotApplicable for them

Copy link
Member Author

Choose a reason for hiding this comment

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

ha, i'm not sure I want to have by default the auditnotapplicable
Can i simply switch the last two lines ?

Copy link
Member

Choose a reason for hiding this comment

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

yes

…shows \"Not applicable\" when not compliance
@ncharles
Copy link
Member Author

Commit modified

@ncharles ncharles force-pushed the bug_9458/invalid_display_in_compliance_for_non_compliant_report_shows_not_applicable_when_not_compliance branch from 2c98c34 to a3837d3 Compare October 19, 2016 16:00
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit a3837d3 into Normation:branches/rudder/4.0 Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants