Fix "A copy of Gitlab::Metrics::Methods" have been removed error
Closes #44365
This commit is contained in:
parent
9fd2d9ea24
commit
02d2a789d2
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module Gitlab
|
|||
end
|
||||
|
||||
def disabled_by_feature(options)
|
||||
options.with_feature && !Feature.get(options.with_feature).enabled?
|
||||
options.with_feature && !::Feature.get(options.with_feature).enabled?
|
||||
end
|
||||
|
||||
def build_metric!(type, name, options)
|
||||
|
|
Loading…
Reference in a new issue