Commit abca2027 authored by Brett Walker's avatar Brett Walker

Fix reloading of Gitlab::Metrics::Methods

parent 48bc705f
...@@ -35,7 +35,7 @@ module Gitlab ...@@ -35,7 +35,7 @@ module Gitlab
end end
def init_metric(type, name, opts = {}, &block) def init_metric(type, name, opts = {}, &block)
options = MetricOptions.new(opts) options = ::Gitlab::Metrics::Methods::MetricOptions.new(opts)
options.evaluate(&block) options.evaluate(&block)
if disabled_by_feature(options) 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