Skip to content
Snippets Groups Projects
Commit ab8267dc authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA
Browse files

create reindexer indice instead of a template

parent 915f377e
Branches
Tags
1 merge request!111.2.0
Pipeline #6997 canceled
...@@ -75,7 +75,7 @@ def setup_indices(cfg): ...@@ -75,7 +75,7 @@ def setup_indices(cfg):
except Exception as e: except Exception as e:
logging.error(e) logging.error(e)
rep = destin_es.indices.put_template(cfg['reindexer']['template_name'], template) rep = destin_es.indices.create(cfg['reindexer']['template_name'], template)
logging.debug(rep) logging.debug(rep)
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment