From 02668c9ca3717cfe246f374a7d0e8303e06cc97d Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Thu, 6 Apr 2017 15:49:44 -0400 Subject: Fixed a bug when oc command fails. --- roles/lib_openshift/library/oc_adm_ca_server_cert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/lib_openshift/library') diff --git a/roles/lib_openshift/library/oc_adm_ca_server_cert.py b/roles/lib_openshift/library/oc_adm_ca_server_cert.py index 617d8590a..c69f5deda 100644 --- a/roles/lib_openshift/library/oc_adm_ca_server_cert.py +++ b/roles/lib_openshift/library/oc_adm_ca_server_cert.py @@ -1558,7 +1558,7 @@ class CAServerCert(OpenShiftCLI): api_rval = server_cert.create() if api_rval['returncode'] != 0: - return {'Failed': True, 'msg': api_rval} + return {'failed': True, 'msg': api_rval} return {'changed': True, 'results': api_rval, 'state': state} -- cgit v1.2.3