Commit bf8f3cd8 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'bw-fix-metrics-reload' into 'master'

Fix Spring Reloading of Gitlab::Metrics::Methods

See merge request gitlab-org/gitlab!35570
parents e22534e9 abca2027
......@@ -35,7 +35,7 @@ module Gitlab
end
def init_metric(type, name, opts = {}, &block)
options = MetricOptions.new(opts)
options = ::Gitlab::Metrics::Methods::MetricOptions.new(opts)
options.evaluate(&block)
if disabled_by_feature(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