You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2020/08/19 20:50:44 UTC

[incubator-ponymail-foal] branch master updated: Fix option name

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

sebb 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 fe1dfd0  Fix option name
fe1dfd0 is described below

commit fe1dfd02de47522a32cecb6741e92a305398b274
Author: Sebb <se...@apache.org>
AuthorDate: Wed Aug 19 21:50:26 2020 +0100

    Fix option name
---
 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 a7b0c8c..4ae4fc1 100755
--- a/tools/plugins/elastic.py
+++ b/tools/plugins/elastic.py
@@ -103,7 +103,7 @@ class Elastic:
         if es_engine_major == 2:
             pass
         elif es_engine_major in [5, 6, 7]:
-            self.wait_for_active_shards = config.get("elasticsearch", "fallback", fallback=1)
+            self.wait_for_active_shards = config.get("elasticsearch", "wait", fallback=1)
         else:
             raise Exception("Unexpected elasticsearch version ", es_engine_major)