summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs
diff options
context:
space:
mode:
authorSri Vignesh <sselvan@redhat.com>2019-09-05 20:16:46 +0530
committerSri Vignesh <sselvan@redhat.com>2019-09-05 20:21:11 +0530
commit020809872eed120278563ad3b8088340dc752008 (patch)
tree8c571577f04b470a99eb19d2fdfc2e17c17d5fde /openshift-storage-libs
parent77bdadb75e8bdae4170c08027ff27f436a23eb66 (diff)
[Library]: Modification in block volume create with name
modification in block volume name parameter passed twice while creating Change-Id: Ieb827a8e7fa40a84eed7f8c5e90760710e6615b2 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
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 489b8e9..9bb3a85 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: