rework the UpdateMergeRequestsWorker#metrics_tags

This commit is contained in:
micael.bergeron 2017-11-01 09:07:27 -04:00
parent 2b7e03cf69
commit d5859bb9d5

View file

@ -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)