summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster
diff options
context:
space:
mode:
authorkshithijiyer <kshithij.ki@gmail.com>2020-01-17 12:44:48 +0530
committerkshithijiyer <kshithij.ki@gmail.com>2020-01-17 12:46:08 +0530
commitaa7736fc0de7a9df121204878cd78f9eb3bfa6e1 (patch)
treee8445299e419788a6a8e947947e63ac63e40859c /glustolibs-gluster/glustolibs/gluster
parent78907f61c7dca0b7981e179693fd7acf54b6c821 (diff)
[Fix] Fixing keyerror introduced in the gluster_base_class
Fixing keyerror introduced in the patch: https://review.gluster.org/#/c/glusto-tests/+/23967/ Change-Id: Ib44678fe46df5090b1586b09b47d3046c4dc6f9b Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/gluster_base_class.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
index 87ab97008..e8ade17a1 100644
--- a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
+++ b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
@@ -559,6 +559,8 @@ class GlusterBaseClass(TestCase):
['cluster_config'])
except KeyError:
cls.geo_rep_info = {}
+ cls.geo_rep_info['root'] = {}
+ cls.geo_rep_info['user'] = {}
cls.geo_rep_info['root']['password'] = ''
cls.geo_rep_info['user']['name'] = ''
cls.geo_rep_info['user']['password'] = ''