Commit 68e9a78a authored by Kerri Miller's avatar Kerri Miller

Merge branch 'da-fix-ruby-2.7-kwargs-geo-file-download-dispatch-worker-job-finder' into 'master'

Fix Ruby 2.7 keyword parameter deprecations in Geo::FileDownloadDispatchWorker::JobFinder class

See merge request gitlab-org/gitlab!43800
parents d1260af4 ff2119a4
......@@ -23,19 +23,19 @@ module Geo
def find_jobs_never_attempted_sync(batch_size:)
convert_registry_relation_to_job_args(
registry_finder.find_registries_never_attempted_sync(find_batch_params(batch_size))
registry_finder.find_registries_never_attempted_sync(**find_batch_params(batch_size))
)
end
def find_jobs_needs_sync_again(batch_size:)
convert_registry_relation_to_job_args(
registry_finder.find_registries_needs_sync_again(find_batch_params(batch_size))
registry_finder.find_registries_needs_sync_again(**find_batch_params(batch_size))
)
end
def find_jobs_synced_missing_on_primary(batch_size:)
convert_registry_relation_to_job_args(
registry_finder.find_retryable_synced_missing_on_primary_registries(find_batch_params(batch_size))
registry_finder.find_retryable_synced_missing_on_primary_registries(**find_batch_params(batch_size))
)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment