提交 ea5221ae 编写于 作者: R Robert Speicher

Merge branch 'sh-fix-module-reloading' into 'master'

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

Closes #44365

See merge request gitlab-org/gitlab-ce!17810
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册