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 #11291: Highlight DSC compatible technique versions in the available versions table. #1726

Conversation

RaphaelGauthier
Copy link
Member

@@ -355,16 +356,21 @@ class DirectiveManagement extends DispatchSnippet with Loggable {
val isDeprecated = t.deprecrationInfo.isDefined
val deprecationMessage = t.deprecrationInfo.map(_.message).getOrElse("")
val acceptationDate = DateFormaterService.getFormatedDate(timeStamp)
val dscSupport = t.agentConfigs.forall { _.agentType match{
Copy link
Member

Choose a reason for hiding this comment

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

Why forall ? this means that all agentTYpe should be dsc, use exists instead!!

@RaphaelGauthier
Copy link
Member Author

Commit modified

@RaphaelGauthier RaphaelGauthier force-pushed the ust_11291/highlight_dsc_compatible_technique_versions_in_the_available_versions_table branch from f855ba4 to 7dc2b83 Compare August 25, 2017 15:24
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 7dc2b83 into Normation:branches/rudder/4.2 Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants