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 5d10400 commit cc0731fCopy full SHA for cc0731f
api-spec-testing/wipe_cluster_8.rb
@@ -181,7 +181,7 @@ def wipe_snapshots(client)
181
break if repositories.empty?
182
183
repositories.each_key do |repository|
184
- if repositories[repository]['type'] == 'fs'
+ if ['fs', 'source'].include? repositories[repository]['type']
185
response = client.snapshot.get(repository: repository, snapshot: '_all', ignore_unavailable: true)
186
response['snapshots'].each do |snapshot|
187
if snapshot['state'] != 'SUCCESS'
0 commit comments