diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-03-27 09:41:15 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-03-28 15:55:50 -0400 |
commit | b7af36569f4f02a6320833759b48e15df25a9b06 (patch) | |
tree | fdb1cf2e878314eec7572018af189d3ba0c0eada /roles/lib_openshift/src | |
parent | aa9e19c20b745f91a47292f8754a8cf52017c3e4 (diff) | |
download | openshift-b7af36569f4f02a6320833759b48e15df25a9b06.tar.gz openshift-b7af36569f4f02a6320833759b48e15df25a9b06.tar.bz2 openshift-b7af36569f4f02a6320833759b48e15df25a9b06.tar.xz openshift-b7af36569f4f02a6320833759b48e15df25a9b06.zip |
Fixed a bug in oc_volume.
Diffstat (limited to 'roles/lib_openshift/src')
-rw-r--r-- | roles/lib_openshift/src/class/oc_volume.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_openshift/src/class/oc_volume.py b/roles/lib_openshift/src/class/oc_volume.py index 5211a1afd..45b58a516 100644 --- a/roles/lib_openshift/src/class/oc_volume.py +++ b/roles/lib_openshift/src/class/oc_volume.py @@ -157,7 +157,7 @@ class OCVolume(OpenShiftCLI): if not oc_volume.exists(): if check_mode: - exit_json(changed=False, msg='Would have performed a create.') + return {'changed': True, 'msg': 'CHECK_MODE: Would have performed a create.'} # Create it here api_rval = oc_volume.put() |