You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/09/09 12:06:25 UTC

[incubator-ponymail-foal] branch master updated: 7 or 8 only.

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 <hu...@apache.org>
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)