Fix "A copy of Gitlab::Metrics::Methods" have been removed error

Closes #44365
This commit is contained in:
Stan Hu 2018-03-16 12:05:39 -07:00
parent 9fd2d9ea24
commit 02d2a789d2

View file

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