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 59fdade commit 6ebc99eCopy full SHA for 6ebc99e
elasticsearch-api/api-spec-testing/wipe_cluster.rb
@@ -187,7 +187,7 @@ def wipe_snapshots(client)
187
break if repositories.empty?
188
189
repositories.each_key do |repository|
190
- if repositories[repository]['type'] == 'fs'
+ if ['fs', 'source'].include? repositories[repository]['type']
191
response = client.snapshot.get(repository: repository, snapshot: '_all', ignore_unavailable: true)
192
response['snapshots'].each do |snapshot|
193
if snapshot['state'] != 'SUCCESS'
0 commit comments