summaryrefslogtreecommitdiff
path: root/app/workers/concerns/cronjob_queue.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/concerns/cronjob_queue.rb')
-rw-r--r--app/workers/concerns/cronjob_queue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/concerns/cronjob_queue.rb b/app/workers/concerns/cronjob_queue.rb
index 955387b5ad4..b89d6bba72c 100644
--- a/app/workers/concerns/cronjob_queue.rb
+++ b/app/workers/concerns/cronjob_queue.rb
@@ -15,7 +15,7 @@ module CronjobQueue
# Cronjobs never get scheduled with arguments, so this is safe to
# override
def context_for_arguments(_args)
- return if Gitlab::ApplicationContext.current_context_include?('meta.caller_id')
+ return if Gitlab::ApplicationContext.current_context_include?(:caller_id)
Gitlab::ApplicationContext.new(caller_id: "Cronjob")
end