We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7371c commit f8a67e0Copy full SHA for f8a67e0
test_elasticsearch/utils.py
@@ -179,7 +179,8 @@ def wipe_data_streams(client):
179
def wipe_indices(client):
180
indices = client.cat.indices().strip().splitlines()
181
if len(indices) > 0:
182
- index_names = [i.split(" ")[2] for i in indices]
+ index_names = [i.split()[2] for i in indices]
183
+ print(index_names)
184
client.options(ignore_status=404).indices.delete(
185
index=",".join(index_names),
186
expand_wildcards="all",
0 commit comments