Fix Ruby 2.7 keyword parameter deprecations

Part of https://gitlab.com/gitlab-org/gitlab/-/issues/257438
parent 60579a82
......@@ -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