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 #3152 ref #3137: create a Rudder boot-time process to migrate Directive parameter inline variable to 'rudder' namespace #93

Conversation

fanf
Copy link
Member

@fanf fanf commented Jan 15, 2013

No description provided.

* Return the map of parameter migrated, or nothing if the directive does not
* contain any variable to migrate.
*/
private[this] def directiveParameterMigratedToRudderNamespace(directive:Directive) : Option[Map[String, Seq[String]]] = {
Copy link
Member

Choose a reason for hiding this comment

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

This name is confusing. By reading the code in the calling method, I thought it was looking for migrated directive, and it found, do something. It is actually the opposite.
Could you rename this method to migrateDirectiveParametersToRudderNamespace(directive:Directive) ?

…ocess to migrate Directive parameter inline variable to 'rudder' namespace
@ncharles
Copy link
Member

Thank you Francois !

ncharles added a commit that referenced this pull request Jan 15, 2013
…polated_variable_in_directive_to_rudder_namespace

Fixes #3152 ref #3137: create a Rudder boot-time process to migrate Directive parameter inline variable to 'rudder' namespace
@ncharles ncharles merged commit 509aded into Normation:branches/rudder/2.5 Jan 15, 2013
@fanf fanf deleted the ust_3137/dev/3152_migration_of_interpolated_variable_in_directive_to_rudder_namespace branch March 15, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants