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/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new dde29ce  7 or 8 only.
dde29ce is described below

commit dde29ceca89fddf82c5417c3d61a908341a41974
Author: Daniel Gruno <[email protected]>
AuthorDate: Wed Sep 9 14:05:26 2020 +0200

    7 or 8 only.
---
 tools/plugins/elastic.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/plugins/elastic.py b/tools/plugins/elastic.py
index c719694..a9777ec 100755
--- a/tools/plugins/elastic.py
+++ b/tools/plugins/elastic.py
@@ -99,7 +99,7 @@ class Elastic:
         )
 
         es_engine_major = self.engineMajor()
-        if es_engine_major in [6, 7]:
+        if es_engine_major in [7, 8]:
             self.wait_for_active_shards = config.get("elasticsearch", "wait", 
fallback=1)
         else:
             raise Exception("Unexpected elasticsearch version ", 
es_engine_major)

Reply via email to