Skip to content
Snippets Groups Projects
Commit e0c19091 authored by Alessandro Cerioni's avatar Alessandro Cerioni
Browse files

Bugfix.

parent ecfdcd44
Branches
Tags
No related merge requests found
...@@ -13,9 +13,9 @@ def main(cfg, wait=True): ...@@ -13,9 +13,9 @@ def main(cfg, wait=True):
from es_template import template from es_template import template
template['index_patterns'] = [ cfg['reindexer']['destination_index'] ] template['index_patterns'] = [ cfg['reindexer']['destination_index'] ]
template['settings']['number_of_shards'] = [ cfg['reindexer']['number_of_shards'] ] template['settings']['number_of_shards'] = cfg['reindexer']['number_of_shards']
template['settings']['number_of_replicas'] = [ cfg['reindexer']['number_of_replicas'] ] template['settings']['number_of_replicas'] = cfg['reindexer']['number_of_replicas']
if wait: if wait:
if 'source_url' in cfg['reindexer'].keys(): if 'source_url' in cfg['reindexer'].keys():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment