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 #10079: Add a generic method to merge two dict variables #520

Conversation

amousset
Copy link
Member

@amousset
Copy link
Member Author

Commit modified

@amousset amousset force-pushed the ust_10079/add_a_generic_method_to_merge_two_dict_variables branch from 6dc40fc to bff2339 Compare January 26, 2017 20:51
@peckpeck
Copy link
Member

I thought this already existed

@amousset
Copy link
Member Author

Me too, but it seems not...

#
# @parameter variable_prefix The prefix of the variable name
# @parameter variable_name The variable to define, the full name will be variable_prefix.variable_name
# @parameter first_variable The first variable, that will be overriden if necessary (in the form variable_prefix.variable_name)
Copy link
Member

Choose a reason for hiding this comment

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

Could you use the word source instead of overridden to avoid confusion about the state of the variable after the call

@amousset
Copy link
Member Author

Commit modified

@amousset amousset force-pushed the ust_10079/add_a_generic_method_to_merge_two_dict_variables branch from bff2339 to 6cc23b4 Compare January 27, 2017 15:34
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 6cc23b4 into Normation:master Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants