Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/batch_worker_context.rb')
-rw-r--r--lib/gitlab/batch_worker_context.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/batch_worker_context.rb b/lib/gitlab/batch_worker_context.rb
index 0589206fefc..9bc877fcd8d 100644
--- a/lib/gitlab/batch_worker_context.rb
+++ b/lib/gitlab/batch_worker_context.rb
@@ -23,7 +23,7 @@ module Gitlab
def context_by_arguments
@context_by_arguments ||= objects.each_with_object({}) do |object, result|
arguments = Array.wrap(arguments_proc.call(object))
- context = Gitlab::ApplicationContext.new(context_proc.call(object))
+ context = Gitlab::ApplicationContext.new(**context_proc.call(object))
result[arguments] = context
end