summaryrefslogtreecommitdiff
path: root/qa/qa/runtime/api/repository_storage_moves.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/runtime/api/repository_storage_moves.rb')
-rw-r--r--qa/qa/runtime/api/repository_storage_moves.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/runtime/api/repository_storage_moves.rb b/qa/qa/runtime/api/repository_storage_moves.rb
index c3b2095be32..fb8d70c0836 100644
--- a/qa/qa/runtime/api/repository_storage_moves.rb
+++ b/qa/qa/runtime/api/repository_storage_moves.rb
@@ -24,7 +24,7 @@ module QA
Logger.debug('Getting repository storage moves')
Support::Waiter.wait_until do
- with_paginated_response_body(Request.new(api_client, "/#{resource_name(resource)}_repository_storage_moves", per_page: '100').url) do |page|
+ get(Request.new(api_client, "/#{resource_name(resource)}_repository_storage_moves", per_page: '100').url) do |page|
break true if page.any? { |item| yield item }
end
end