Skip to content
Snippets Groups Projects
Commit 7b8a91a2a28c authored by Arthur Lutz's avatar Arthur Lutz
Browse files

[ccpluging] bugfix - missing create index when specified from cmdline

parent bae55dba843a
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,8 @@
indexer = cnx.vreg['es'].select('indexer', cnx)
es = indexer.get_connection()
indexer.create_index()
if self.config.index_name:
indexer.create_index(index_name=self.config.index_name)
if es:
if self.config.etypes:
etypes = self.config.etypes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment