diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-06-30 15:13:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-30 15:13:31 -0400 |
commit | a4eccf0279529c2179afd72cf2b478e1ff51cf86 (patch) | |
tree | 60d66697e019bae2ebb7b2c76736bffb235291e5 /roles/openshift_health_checker/action_plugins/openshift_health_check.py | |
parent | fb3ca7fedf8f9a791b5e01d91e1613a325cf3107 (diff) | |
parent | 11040f1b76981c22d62d17d1d22a3741e50a27fd (diff) | |
download | openshift-a4eccf0279529c2179afd72cf2b478e1ff51cf86.tar.gz openshift-a4eccf0279529c2179afd72cf2b478e1ff51cf86.tar.bz2 openshift-a4eccf0279529c2179afd72cf2b478e1ff51cf86.tar.xz openshift-a4eccf0279529c2179afd72cf2b478e1ff51cf86.zip |
Merge pull request #4565 from rhcarvalho/handle-incorrect-check-names
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_health_checker/action_plugins/openshift_health_check.py')
-rw-r--r-- | roles/openshift_health_checker/action_plugins/openshift_health_check.py | 5 |
1 files changed, 2 insertions, 3 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 a62e4331e..0390dc82e 100644 --- a/roles/openshift_health_checker/action_plugins/openshift_health_check.py +++ b/roles/openshift_health_checker/action_plugins/openshift_health_check.py @@ -38,14 +38,13 @@ class ActionModule(ActionBase): try: known_checks = self.load_known_checks() + args = self._task.args + resolved_checks = resolve_checks(args.get("checks", []), known_checks.values()) except OpenShiftCheckException as e: result["failed"] = True result["msg"] = str(e) return result - args = self._task.args - resolved_checks = resolve_checks(args.get("checks", []), known_checks.values()) - result["checks"] = check_results = {} user_disabled_checks = [ |