Skip to content

Commit c27644c

Browse files
committed
[API] Clean up index without the 7.x update
1 parent 36dfff5 commit c27644c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

api-spec-testing/test_file.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,6 @@ def clear_machine_learning_indices(client)
178178

179179
def clear_index_templates(client)
180180
client.indices.delete_template(name: '*')
181-
templates = client.indices.get_index_template
182-
templates['index_templates'].each do |template|
183-
client.indices.delete_index_template(name: template['name'])
184-
end
185181
end
186182

187183
def clear_snapshots_and_repositories(client)

0 commit comments

Comments
 (0)