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 a511987Copy full SHA for a511987
test_elasticsearch/utils.py
@@ -179,7 +179,7 @@ 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
client.options(ignore_status=404).indices.delete(
184
index=",".join(index_names),
185
expand_wildcards="all",
0 commit comments