initial stage

This commit is contained in:
Giambattista Bloisi 2024-07-27 14:27:08 +02:00
parent c9365d18e1
commit 2ede28e998
1 changed files with 5 additions and 4 deletions

View File

@ -1001,10 +1001,11 @@ def init_opensearch(os_client: OpenSearch):
} }
}) })
# try: try:
# os_client.indices.get_index_template("interoperability") os_client.indices.delete_index_template(name="interoperability")
# except NotFoundError: except NotFoundError:
os_client.indices.delete_index_template(name="interoperability") pass
os_client.indices.put_index_template( os_client.indices.put_index_template(
name="interoperability", name="interoperability",
body={ body={