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 #7278: Add new class parameter to command_execution_* #253

Conversation

peckpeck
Copy link
Member

@peckpeck
Copy link
Member Author

PR updated

@peckpeck peckpeck force-pushed the ust_7278/add_new_class_parameter_to_command_execution branch from 25cbede to 569f054 Compare October 14, 2015 08:58
@peckpeck
Copy link
Member Author

Original PR #234

@@ -368,6 +368,58 @@ body classes classes_generic_return_codes_two(x, y, kept_return_code, repaired_r
"promise_kept_$(y)", "$(y)_kept", "$(y)_ok", "$(y)_not_repaired", "$(y)_reached" };
}

# Define x prefixes/suffixed with promises outcome, based on return codes
body classes classes_generic_return_codes_two(x, y, kept_return_codes, repaired_return_codes)
Copy link
Member

Choose a reason for hiding this comment

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

the name isn't really helpful in why it differs from the previous method
I forsee a lot of errors for users in the names of the methods (s or no s, that is the question ...)

@peckpeck peckpeck force-pushed the ust_7278/add_new_class_parameter_to_command_execution branch from 569f054 to b1be381 Compare October 19, 2015 07:26
@peckpeck
Copy link
Member Author

PR updated

}

# Define x prefixes/suffixed with true/false outcome, based on return codes
body classes classes_generic_return_boolean_two(x, y, boolean_prefix, true_return_codes, false_return_codes)
Copy link
Member

Choose a reason for hiding this comment

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

why not classes_generic_return_boolean_list_two ?

@peckpeck
Copy link
Member Author

PR updated

@peckpeck peckpeck force-pushed the ust_7278/add_new_class_parameter_to_command_execution branch from b1be381 to 5cf5e6a Compare October 22, 2015 08:39
ncharles added a commit that referenced this pull request Oct 22, 2015
…r_to_command_execution

Fixes #7278: Add new class parameter to command_execution_*
@ncharles ncharles merged commit 074e2be into Normation:master Oct 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants