summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/action_plugins
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-03-22 16:29:37 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-03-28 11:54:52 +0200
commit5e71e43a2a2e9089185d34e5406ee212cc478a75 (patch)
tree0b62a54db72e5614998ea2aa29517eb3f8296294 /roles/openshift_health_checker/action_plugins
parentf324d6d1040b6af82113a1e975903ae8fd64fef8 (diff)
downloadopenshift-5e71e43a2a2e9089185d34e5406ee212cc478a75.tar.gz
openshift-5e71e43a2a2e9089185d34e5406ee212cc478a75.tar.bz2
openshift-5e71e43a2a2e9089185d34e5406ee212cc478a75.tar.xz
openshift-5e71e43a2a2e9089185d34e5406ee212cc478a75.zip
Rename module_executor -> execute_module
It is a function/callable, the name should imply action, should be a verb and not a noun. Keep supporting the old name while we have PRs in-flight that use the old name.
Diffstat (limited to 'roles/openshift_health_checker/action_plugins')
-rw-r--r--roles/openshift_health_checker/action_plugins/openshift_health_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/action_plugins/openshift_health_check.py b/roles/openshift_health_checker/action_plugins/openshift_health_check.py
index 8b23533c8..027abf398 100644
--- a/roles/openshift_health_checker/action_plugins/openshift_health_check.py
+++ b/roles/openshift_health_checker/action_plugins/openshift_health_check.py
@@ -91,7 +91,7 @@ class ActionModule(ActionBase):
check_name,
cls.__module__, cls.__name__,
other_cls.__module__, other_cls.__name__))
- known_checks[check_name] = cls(module_executor=self._execute_module)
+ known_checks[check_name] = cls(execute_module=self._execute_module)
return known_checks