diff options
| author | Pranav <prprakas@redhat.com> | 2020-05-12 10:17:55 +0530 | 
|---|---|---|
| committer | Pranav <prprakas@redhat.com> | 2020-05-12 10:17:55 +0530 | 
| commit | bf51d905c1d2b149d544bc0132e91f2916e4ef65 (patch) | |
| tree | 70c84842849e8fb7ff3d1a525f8686fdd4351103 | |
| parent | a3696ca2d3f2fdcc9c623b7717ae7d747f04237a (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>
| -rwxr-xr-x | glustolibs-gluster/glustolibs/gluster/geo_rep_ops.py | 2 | 
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" %  | 
