rework the UpdateMergeRequestsWorker#metrics_tags
This commit is contained in:
parent
2b7e03cf69
commit
d5859bb9d5
1 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue