summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs
diff options
context:
space:
mode:
authorNitin Goyal <nigoyal@redhat.com>2019-09-19 17:37:01 +0530
committerNitin Goyal <nigoyal@redhat.com>2019-09-19 17:51:28 +0530
commitf908bcc1343ec1a5fcb68d4c9730c3a3148de3eb (patch)
tree131a62eec4e1462055c4afab1436bf445440d3f1 /openshift-storage-libs
parent5fc532045c12cbaefdff1a02c7d34b7356f430a6 (diff)
[Revert] "Fix heketi_device_add library"
This reverts commit 046244942f7ad3f5f24b675dfa299ad955f1412f. Change-Id: I1f49d613af3dd236bf4113db757cbf9ce752e973
Diffstat (limited to 'openshift-storage-libs')
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/heketi_ops.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py b/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py
index 7c7d98e..9f1d495 100644
--- a/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py
+++ b/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py
@@ -624,8 +624,6 @@ def heketi_device_add(heketi_client_node, heketi_server_url, device_name,
heketi_server_url, device_name, node_id, json_arg, admin_key, user)
cmd = TIMEOUT_PREFIX + cmd
out = heketi_cmd_run(heketi_client_node, cmd)
- if json_arg:
- return json.loads(out)
return out