Commit d5859bb9 authored by micael.bergeron's avatar micael.bergeron

rework the UpdateMergeRequestsWorker#metrics_tags

parent 2b7e03cf
......@@ -2,10 +2,8 @@ class UpdateMergeRequestsWorker
include Sidekiq::Worker
include DedicatedSidekiqQueue
attr_reader :metrics_tags
def initialize
@metrics_tags = {}
def metrics_tags
@metrics_tags || {}
end
def perform(project_id, user_id, oldrev, newrev, ref)
......
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