From d5b701d541e54e52fd08529326d2d587ea846a81 Mon Sep 17 00:00:00 2001 From: Guillaume Destuynder Date: Thu, 18 Oct 2018 10:15:49 -0700 Subject: [PATCH] always strip / because ES does not like it --- docker/conf/initial_setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/conf/initial_setup.py b/docker/conf/initial_setup.py index 7d5c733b..c60ad493 100644 --- a/docker/conf/initial_setup.py +++ b/docker/conf/initial_setup.py @@ -30,6 +30,7 @@ args = parser.parse_args() esserver = os.environ.get('OPTIONS_ESSERVERS') if esserver is None: esserver = args.esserver +esserver = esserver.strip('/') print "Connecting to " + esserver client = ElasticsearchClient(esserver)