Commit 6c261f13 authored by Kamil Trzciński's avatar Kamil Trzciński

Update code-style

parent 7d732898
......@@ -57,7 +57,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