summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Pigueiras <luis.pigueiras@cern.ch>2017-06-16 11:20:38 +0200
committerLuis Pigueiras <luis.pigueiras@cern.ch>2017-06-16 11:28:36 +0200
commitfe7549adffb4035f401d5947c41fc4eb6212d5cd (patch)
tree9d60f68bcca83ab6d0172c54840006ffbdc72676
parent0bbaa200893a3ff9f4770b807b11aa890dbbd133 (diff)
Add url_prefix parameter in Elasticsearch connectionHEADmaster
Forgot to include it in https://review.openstack.org/#/c/450204/ when I did the second patch Change-Id: I57b920f77b8cd489fda13b8dbf8c219b888601d6
Notes
Notes (review): Code-Review+2: Julien Danjou <julien@danjou.info> Code-Review+1: Hanxi Liu <hanxi.liu@easystack.cn> Code-Review+2: gordon chung <gord@live.ca> Workflow+1: gordon chung <gord@live.ca> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 19 Jun 2017 12:22:55 +0000 Reviewed-on: https://review.openstack.org/474922 Project: openstack/panko Branch: refs/heads/master
-rw-r--r--panko/storage/impl_elasticsearch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/panko/storage/impl_elasticsearch.py b/panko/storage/impl_elasticsearch.py
index a64a55c..ece33be 100644
--- a/panko/storage/impl_elasticsearch.py
+++ b/panko/storage/impl_elasticsearch.py
@@ -74,7 +74,7 @@ class Connection(base.Connection):
74 use_ssl = conf.database.es_ssl_enabled 74 use_ssl = conf.database.es_ssl_enabled
75 75
76 self.index_name = conf.database.es_index_name 76 self.index_name = conf.database.es_index_name
77 self.conn = es.Elasticsearch(hosts=url_split.netloc, 77 self.conn = es.Elasticsearch(hosts=url_split.netloc + url_split.path,
78 use_ssl=use_ssl) 78 use_ssl=use_ssl)
79 79
80 def upgrade(self): 80 def upgrade(self):