SidekiqStatus need to be qualified in some cases

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2017-02-14 18:37:21 +01:00
parent 059f47b6ba
commit b05003af47
No known key found for this signature in database
GPG key ID: 46DF07E5CD9E96AB
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ module Gitlab
module SidekiqStatus
class ClientMiddleware
def call(_, job, _, _)
SidekiqStatus.set(job['jid'])
Gitlab::SidekiqStatus.set(job['jid'])
yield
end
end

View file

@ -4,7 +4,7 @@ module Gitlab
def call(worker, job, queue)
ret = yield
SidekiqStatus.unset(job['jid'])
Gitlab::SidekiqStatus.unset(job['jid'])
ret
end