From 4bde8aa816fdca2aafe7626468e211c426caa7b9 Mon Sep 17 00:00:00 2001 From: Tim Bielawa Date: Fri, 18 Nov 2016 09:12:18 -0800 Subject: Include 'total' and 'ok' in check results * Addresses https://bugzilla.redhat.com/show_bug.cgi?id=1389263 --- roles/openshift_certificate_expiry/library/openshift_cert_expiry.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/openshift_certificate_expiry/library/openshift_cert_expiry.py') diff --git a/roles/openshift_certificate_expiry/library/openshift_cert_expiry.py b/roles/openshift_certificate_expiry/library/openshift_cert_expiry.py index e838eb2d4..d467d0cc8 100644 --- a/roles/openshift_certificate_expiry/library/openshift_cert_expiry.py +++ b/roles/openshift_certificate_expiry/library/openshift_cert_expiry.py @@ -246,7 +246,8 @@ Return: 'total': len(items), 'ok': 0, 'warning': 0, - 'expired': 0 + 'expired': 0, + 'total': len(items) } summary_results['expired'] = len([c for c in items if c['health'] == 'expired']) -- cgit v1.2.1