summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster
diff options
context:
space:
mode:
authorPranav <prprakas@redhat.com>2020-05-12 10:17:55 +0530
committerPranav <prprakas@redhat.com>2020-05-12 10:17:55 +0530
commitbf51d905c1d2b149d544bc0132e91f2916e4ef65 (patch)
tree70c84842849e8fb7ff3d1a525f8686fdd4351103 /glustolibs-gluster
parenta3696ca2d3f2fdcc9c623b7717ae7d747f04237a (diff)
[Libfix] Fix georep_config_get method
The command creation with a specific user had six substitutions, but had only 5 placeholders. Change-Id: I2c9f63213f78e5cec9e5bd30cac8d75eb8dbd6ce Signed-off-by: Pranav <prprakas@redhat.com>
Diffstat (limited to 'glustolibs-gluster')
-rwxr-xr-xglustolibs-gluster/glustolibs/gluster/geo_rep_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/geo_rep_ops.py b/glustolibs-gluster/glustolibs/gluster/geo_rep_ops.py
index 7e12113c9..7d0f5a73e 100755
--- a/glustolibs-gluster/glustolibs/gluster/geo_rep_ops.py
+++ b/glustolibs-gluster/glustolibs/gluster/geo_rep_ops.py
@@ -292,7 +292,7 @@ def georep_config_set(mnode, mastervol, slaveip, slavevol, config, value,
"""
if user:
- cmd = ("gluster volume geo-replication %s %s::%s config %s %s" %
+ cmd = ("gluster volume geo-replication %s %s@%s::%s config %s %s" %
(mastervol, user, slaveip, slavevol, config, value))
else:
cmd = ("gluster volume geo-replication %s %s::%s config %s %s" %