Update code-style

This commit is contained in:
Kamil Trzciński 2018-09-04 15:01:26 +02:00
parent 1f19647c0e
commit cf5f50544c
1 changed files with 1 additions and 1 deletions

View File

@ -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