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 #17660: Node details summary compliance contains system rules #3103

Conversation

VinceMacBuche
Copy link
Member

@VinceMacBuche VinceMacBuche requested a review from fanf June 25, 2020 15:37
// Get only user rules.
rules <- roRuleRepository.getIds(false).toBox.toOption
// We don't want to continue if we have no user rules, and an empty set will put all rules, and here systems rule only
if rules.size > 0
Copy link
Member

Choose a reason for hiding this comment

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

this is a feature of for comprehension that we don't use anywhere else, and is not compatible with most other for comprehension (it won't work with zio for ex, because there's no withFilter).

@VinceMacBuche
Copy link
Member Author

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/3103
-- Your faithful QA
Kant merge: "Happiness is not an ideal of reason, but of imagination."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/26804/console)

@fanf
Copy link
Member

fanf commented Jun 26, 2020

OK, squash merging this PR

@fanf fanf force-pushed the bug_17660/node_details_summary_compliance_contains_system_rules branch from 7888f2b to 2eefd65 Compare June 26, 2020 11:39
@fanf fanf merged commit 2eefd65 into Normation:branches/rudder/6.1 Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants