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
Pipeline #6997 canceled with stages
......@@ -75,7 +75,7 @@ def setup_indices(cfg):
except Exception as 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)
return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment