Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Conversation

fanf
Copy link
Member

@fanf fanf commented Jul 31, 2017

// look for the property value in the node to know if an update is needed.
// we only care about value here (not provider or other meta-info)
nodeInfo.properties.find(_.name == property.name).map(_.value) match {
case Some(property.value) => Full(NodeUpdateResult.Unchanged(nodeInfo.id))
Copy link
Member

Choose a reason for hiding this comment

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

Hard to find that the value of the Node property is equal to value of the datasource property (property.value), maybe easier with changing name of property ('datasourceProperty'?)

@fanf fanf force-pushed the bug_11063/updating_properties_does_not_propagate_on_nodes branch from 3388ce3 to c6beafa Compare July 31, 2017 14:47
@fanf
Copy link
Member Author

fanf commented Jul 31, 2017

PR rebased

@Normation-Quality-Assistant

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit c6beafa into Normation:branches/rudder/4.1 Jul 31, 2017
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants