ae8f7666e5
+ rename controler method to #index from #metrics + remove assertion from nullMetric
10 lines
203 B
Ruby
10 lines
203 B
Ruby
module Gitlab
|
|
module Metrics
|
|
# Mocks ::Prometheus::Client::Metric and all derived metrics
|
|
class NullMetric
|
|
def method_missing(name, *args, &block)
|
|
nil
|
|
end
|
|
end
|
|
end
|
|
end
|