Commit 899dc6b9 authored by lixiaofang's avatar lixiaofang

add

parent 11636385
...@@ -192,7 +192,7 @@ class ESPerform(object): ...@@ -192,7 +192,7 @@ class ESPerform(object):
try: try:
assert (es_cli is not None) assert (es_cli is not None)
official_index_name = sub_index_name official_index_name = sub_index_name
if sub_index_name != "mv-alpha-toipc-test-1907129011": if sub_index_name != "mv-alpha-pictorial-test-1907129011":
official_index_name = cls.get_official_index_name(sub_index_name, "read") official_index_name = cls.get_official_index_name(sub_index_name, "read")
index_exists = es_cli.indices.exists(official_index_name) index_exists = es_cli.indices.exists(official_index_name)
......
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