Commit cf5f5054 authored by Kamil Trzciński's avatar Kamil Trzciński

Update code-style

parent 1f19647c
......@@ -55,7 +55,7 @@ class PrometheusMetric < ActiveRecord::Base
end
def required_metrics
(REQUIRED_METRICS[group.to_sym] || []).map(&:to_s)
REQUIRED_METRICS[group.to_sym].to_a.map(&:to_s)
end
def to_query_metric
......
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