diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-07-12 06:37:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-12 06:37:51 -0400 |
commit | 1da90af63656f127b21720248b5c8c25ebc728ed (patch) | |
tree | 34e1726b26d921df72583a16a1548d11973b0117 /roles/openshift_health_checker/callback_plugins | |
parent | 0d0c6d15d5d413ebefe31370a5c9ad5f0d7bada0 (diff) | |
parent | 1c213b51468fa698acb08d18ce5d6b2a5796d93d (diff) | |
download | openshift-1da90af63656f127b21720248b5c8c25ebc728ed.tar.gz openshift-1da90af63656f127b21720248b5c8c25ebc728ed.tar.bz2 openshift-1da90af63656f127b21720248b5c8c25ebc728ed.tar.xz openshift-1da90af63656f127b21720248b5c8c25ebc728ed.zip |
Merge pull request #4737 from sosiouxme/20170711-consolidate-small-prs
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_health_checker/callback_plugins')
-rw-r--r-- | roles/openshift_health_checker/callback_plugins/zz_failure_summary.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/callback_plugins/zz_failure_summary.py b/roles/openshift_health_checker/callback_plugins/zz_failure_summary.py index 64c29a8d9..443b76ea1 100644 --- a/roles/openshift_health_checker/callback_plugins/zz_failure_summary.py +++ b/roles/openshift_health_checker/callback_plugins/zz_failure_summary.py @@ -39,7 +39,8 @@ class CallbackModule(CallbackBase): def v2_runner_on_failed(self, result, ignore_errors=False): super(CallbackModule, self).v2_runner_on_failed(result, ignore_errors) - self.__failures.append(dict(result=result, ignore_errors=ignore_errors)) + if not ignore_errors: + self.__failures.append(dict(result=result, ignore_errors=ignore_errors)) def v2_playbook_on_stats(self, stats): super(CallbackModule, self).v2_playbook_on_stats(stats) |