Commit 02d2a789 authored by Stan Hu's avatar Stan Hu

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

Closes #44365
parent 9fd2d9ea
...@@ -50,7 +50,7 @@ module Gitlab ...@@ -50,7 +50,7 @@ module Gitlab
end end
def disabled_by_feature(options) def disabled_by_feature(options)
options.with_feature && !Feature.get(options.with_feature).enabled? options.with_feature && !::Feature.get(options.with_feature).enabled?
end end
def build_metric!(type, name, options) def build_metric!(type, name, options)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment