diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2020-01-17 12:44:48 +0530 |
---|---|---|
committer | kshithijiyer <kshithij.ki@gmail.com> | 2020-01-17 12:46:08 +0530 |
commit | aa7736fc0de7a9df121204878cd78f9eb3bfa6e1 (patch) | |
tree | e8445299e419788a6a8e947947e63ac63e40859c | |
parent | 78907f61c7dca0b7981e179693fd7acf54b6c821 (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>
-rw-r--r-- | glustolibs-gluster/glustolibs/gluster/gluster_base_class.py | 2 |
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'] = '' |