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 #7178: Modify generic methods to define and use the new class_prefix #230

Conversation

peckpeck
Copy link
Member

@peckpeck peckpeck commented Sep 9, 2015

@ncharles
Copy link
Member

could you rebase this pull request ?

@peckpeck peckpeck force-pushed the arch_7178/modify_generic_methods_to_define_and_use_the_new_class_prefix branch from 1b56765 to efc65e4 Compare September 18, 2015 09:33
@peckpeck
Copy link
Member Author

PR updated

@@ -49,6 +49,6 @@ bundle agent http_request_check_status_headers(method, url, expected_status, hea
args => "-I -s -o /dev/null -w \"%{http_code}\" ${url} -X ${method} -H '${headers}' | /bin/grep -q ${expected_status}",
contain => in_shell,
# We don't define repaired class, as we only query and expect, so using 999 to avoid using this feature
classes => classes_generic_return_codes("${old_class_prefix}", "0", "999", "1");
classes => classes_generic_return_codes_two("${old_class_prefix}", "${class_prefix}", "0", "999", "1");
Copy link
Member

Choose a reason for hiding this comment

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

why changing only this generic method ?

Copy link
Member

Choose a reason for hiding this comment

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

oh, ok, i see it

ncharles added a commit that referenced this pull request Sep 18, 2015
…s_to_define_and_use_the_new_class_prefix

Fixes #7178: Modify generic methods to define and use the new class_prefix
@ncharles ncharles merged commit 3974d9f into Normation:master Sep 18, 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
Development

Successfully merging this pull request may close these issues.

2 participants