summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-03-30 12:55:30 -0500
committerGitHub <noreply@github.com>2017-03-30 12:55:30 -0500
commitc540fcaa851f179866fed2478b0e2520162d8513 (patch)
treed80305ee0445e5a6596278fc71a810b31f15417e /roles/lib_openshift/src
parent102db9c49a7b35bac0172c73c64b818d9d9a0024 (diff)
parentb7af36569f4f02a6320833759b48e15df25a9b06 (diff)
downloadopenshift-c540fcaa851f179866fed2478b0e2520162d8513.tar.gz
openshift-c540fcaa851f179866fed2478b0e2520162d8513.tar.bz2
openshift-c540fcaa851f179866fed2478b0e2520162d8513.tar.xz
openshift-c540fcaa851f179866fed2478b0e2520162d8513.zip
Merge pull request #3628 from kwoodson/yedit_edits
Merged by openshift-bot
Diffstat (limited to 'roles/lib_openshift/src')
-rw-r--r--roles/lib_openshift/src/class/oc_volume.py2
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()