summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-02-08 16:45:33 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-02-08 16:46:03 -0500
commit7538002114965b4c4e6b202bf7216ec9c9a6d669 (patch)
tree97f4b00f53b9bb1356323bc96ace553cb5a4c290 /roles/lib_openshift/library
parentd338c1aefc702919e6fac553c60a69455ae37d05 (diff)
downloadopenshift-7538002114965b4c4e6b202bf7216ec9c9a6d669.tar.gz
openshift-7538002114965b4c4e6b202bf7216ec9c9a6d669.tar.bz2
openshift-7538002114965b4c4e6b202bf7216ec9c9a6d669.tar.xz
openshift-7538002114965b4c4e6b202bf7216ec9c9a6d669.zip
Adding integration tests.
Diffstat (limited to 'roles/lib_openshift/library')
-rw-r--r--roles/lib_openshift/library/oc_env.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/lib_openshift/library/oc_env.py b/roles/lib_openshift/library/oc_env.py
index 7cd8193e3..228f99d16 100644
--- a/roles/lib_openshift/library/oc_env.py
+++ b/roles/lib_openshift/library/oc_env.py
@@ -1710,7 +1710,7 @@ class OCEnv(OpenShiftCLI):
api_rval = ocenv.delete()
- return {'changed': True, 'results': results, 'state': 'absent'}
+ return {'changed': True, 'state': 'absent'}
return {'changed': False, 'state': 'absent'}
@@ -1737,9 +1737,9 @@ class OCEnv(OpenShiftCLI):
if api_rval['returncode'] != 0:
return {'failed': True, 'msg': api_rval}
- return {'changed': True, 'results': results, 'state': 'present'}
+ return {'changed': True, 'results': api_rval['results'], 'state': 'present'}
- return {'changed': False, 'results': results, 'state': 'present'}
+ return {'changed': False, 'results': api_rval['results'], 'state': 'present'}
return {'failed': True,