initial stage
This commit is contained in:
parent
2f8c04a6a2
commit
e072311240
|
@ -36,8 +36,9 @@ def remove_old_indexes():
|
|||
def remove_indexes():
|
||||
context = get_current_context()
|
||||
client = get_opensearch_client(context)
|
||||
indexes = client.cat.indices()
|
||||
aliases = client.cat.aliases()
|
||||
|
||||
indexes = client.cat.indices(format="json")
|
||||
aliases = client.cat.aliases(format="json")
|
||||
|
||||
print(json.dumps(aliases))
|
||||
print(json.dumps(indexes))
|
||||
|
|
Loading…
Reference in New Issue