You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by tu...@apache.org on 2020/12/13 02:13:23 UTC

[kibble] branch main updated: Fix unresolved reference error in kibble/api/plugins/database.py (#111)

This is an automated email from the ASF dual-hosted git repository.

turbaszek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kibble.git


The following commit(s) were added to refs/heads/main by this push:
     new c14a053  Fix unresolved reference error in kibble/api/plugins/database.py (#111)
c14a053 is described below

commit c14a0533279c025e58e974b6f094197d3f18422b
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Sun Dec 13 02:13:13 2020 +0000

    Fix unresolved reference error in kibble/api/plugins/database.py (#111)
    
    There was no such variable `ESVersion` -- possibly a typo as `self.ESversion` is defined on line 147
---
 kibble/api/plugins/database.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kibble/api/plugins/database.py b/kibble/api/plugins/database.py
index 5746721..f50b176 100644
--- a/kibble/api/plugins/database.py
+++ b/kibble/api/plugins/database.py
@@ -138,5 +138,5 @@ class KibbleDatabase(object):
         self.ESversion = int(self.ES.info()["version"]["number"].split(".")[0])
         if self.ESversion >= 7:
             self.ES = KibbleESWrapperSeven(self.ES)
-        elif self.ESVersion >= 6:
+        elif self.ESversion >= 6:
             self.ES = KibbleESWrapper(self.ES)