fix backup for empty index

This commit is contained in:
Simon
2023-10-07 09:05:17 +07:00
parent 57d8b060d2
commit 0776cea7bc

View File

@@ -152,7 +152,6 @@ class ElasitIndexWrap:
index_name, expected_map, expected_set = self._config_split(index)
handler = ElasticIndex(index_name, expected_map, expected_set)
if not handler.exists:
self._check_backup()
handler.create_blank()
continue