summaryrefslogtreecommitdiff
path: root/app/models/prometheus_metric.rb
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-04 23:09:29 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-04 23:09:46 +0200
commit8645c92e3633eb9c332b093c85e612445492126b (patch)
treef477c8b12f95ecdb8125b8c2e361f846b0658e43 /app/models/prometheus_metric.rb
parent4cfc6a9f10b41dbb556f43f841c0a4dd50703123 (diff)
downloadgitlab-ce-8645c92e3633eb9c332b093c85e612445492126b.tar.gz
Fix PrometheusMetric model
Diffstat (limited to 'app/models/prometheus_metric.rb')
-rw-r--r--app/models/prometheus_metric.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/prometheus_metric.rb b/app/models/prometheus_metric.rb
index 69d3a21c397..2d6dbca6a72 100644
--- a/app/models/prometheus_metric.rb
+++ b/app/models/prometheus_metric.rb
@@ -69,7 +69,7 @@ class PrometheusMetric < ActiveRecord::Base
unit: unit,
label: legend,
series: query_series
- }
+ }.compact
]
end