Commit a4b2f8d4 authored by Damien DESPRES's avatar Damien DESPRES
Browse files

migration es7

parent 65495abe
Pipeline #18672 passed with stages
in 23 seconds
......@@ -34,7 +34,7 @@ def index_docs( cfg, content_type, docs ):
"refresh_interval": "30s"
},
"mappings": {
"_doc": {
# "_doc": {
"dynamic_templates": [ # priority is given by order!
{
"uuid" : {
......@@ -64,7 +64,7 @@ def index_docs( cfg, content_type, docs ):
}
}
]
}
# }
}
}
......@@ -187,4 +187,4 @@ def pushToMinio( client,bucket_name,image ):
bucket_name, file_path, data, length=-1, part_size=10*1024*1024)
except Exception :
logger.warning("erreur avec l'image "+image)
return True
\ No newline at end of file
return True
Supports Markdown
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