Commit 5fbbd7ab authored by Thong Kuah's avatar Thong Kuah

Fix auto-loading of Gitlab::Metrics::Methods

parent 8f792928
......@@ -39,7 +39,7 @@ module Gitlab
options.evaluate(&block)
if disabled_by_feature(options)
synchronized_cache_fill(name) { NullMetric.instance }
synchronized_cache_fill(name) { ::Gitlab::Metrics::NullMetric.instance }
else
synchronized_cache_fill(name) { build_metric!(type, name, options) }
end
......
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