You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2019/06/10 15:43:20 UTC

[kibble-scanners] branch master updated: copypasto

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

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble-scanners.git


The following commit(s) were added to refs/heads/master by this push:
     new 8988dae  copypasto
8988dae is described below

commit 8988daea83f058f7c783351d7b93e22496817f0a
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Jun 10 17:43:17 2019 +0200

    copypasto
---
 src/plugins/brokers/kibbleES.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/brokers/kibbleES.py b/src/plugins/brokers/kibbleES.py
index 2b19daa..fd3790e 100644
--- a/src/plugins/brokers/kibbleES.py
+++ b/src/plugins/brokers/kibbleES.py
@@ -302,7 +302,7 @@ class Broker:
         self.bitClass = KibbleBit
         # This bit is required since ES 6.x and above don't like document types
         self.noTypes = True if int(es_info['version']['number'].split('.')[0]) >= 6 else False
-        self.seven = True if int(self.ES.info()['version']['number'].split('.')[0]) >= 7 else False
+        self.seven = True if int(es_info['version']['number'].split('.')[0]) >= 7 else False
         if self.noTypes:
             pprint("This is a type-less DB, expanding database names instead.")
             if self.seven: