Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-05 00:09:29 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-05 00:09:46 +0300
commit8645c92e3633eb9c332b093c85e612445492126b (patch)
treef477c8b12f95ecdb8125b8c2e361f846b0658e43 /app/models/prometheus_metric.rb
parent4cfc6a9f10b41dbb556f43f841c0a4dd50703123 (diff)
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