summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs
diff options
context:
space:
mode:
Diffstat (limited to 'openshift-storage-libs')
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/heketi_ops.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py b/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py
index 489b8e9c..9bb3a855 100644
--- a/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py
+++ b/openshift-storage-libs/openshiftstoragelibs/heketi_ops.py
@@ -1029,9 +1029,9 @@ def heketi_blockvolume_create(heketi_client_node, heketi_server_url, size,
name_arg = "--name %s" % name
cmd = ("heketi-cli -s %s blockvolume create --size=%s %s %s %s %s "
- "%s %s %s %s" % (heketi_server_url, str(size), auth_arg,
- clusters_arg, ha_arg, name_arg, name_arg,
- admin_key, user, json_arg))
+ "%s %s %s" % (heketi_server_url, str(size), auth_arg,
+ clusters_arg, ha_arg, name_arg,
+ admin_key, user, json_arg))
cmd = TIMEOUT_PREFIX + cmd
out = heketi_cmd_run(heketi_client_node, cmd)
if json_arg: