search-index-softer-check
All checks were successful
Deploy on push / deploy (push) Successful in 32s
All checks were successful
Deploy on push / deploy (push) Successful in 32s
This commit is contained in:
parent
1f3607b4d3
commit
2beb584e87
|
@ -138,7 +138,7 @@ class SearchService:
|
|||
result = json.loads(result)
|
||||
if isinstance(result, dict):
|
||||
mapping = result.get(self.index_name, {}).get("mappings")
|
||||
if mapping and mapping != expected_mapping:
|
||||
if mapping and mapping['properties'].keys() != expected_mapping['properties'].keys():
|
||||
logger.debug("Найдена структура индексации:")
|
||||
logger.debug("\n" + json.dumps(mapping, indent=2, ensure_ascii=False))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user