diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-02 16:55:44 +0300 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-02 20:48:39 +0300 |
commit | d26573c6e3de535f69437deaf54d5c151ac343c8 (patch) | |
tree | 7a136066f4c5b9ac54593e2445a89d78651a236b /lib/gitlab/health_checks | |
parent | 6a67148ed3543ee5073ab49dc4e825f3d87cc8b5 (diff) |
Make PrometheusTextFormat return proper output terminated with '\n'
remove file dangling after rebase
Diffstat (limited to 'lib/gitlab/health_checks')
-rw-r--r-- | lib/gitlab/health_checks/prometheus_text_format.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/health_checks/prometheus_text_format.rb b/lib/gitlab/health_checks/prometheus_text_format.rb index 6b81eeddfc9..462c8e736a0 100644 --- a/lib/gitlab/health_checks/prometheus_text_format.rb +++ b/lib/gitlab/health_checks/prometheus_text_format.rb @@ -2,7 +2,7 @@ module Gitlab module HealthChecks class PrometheusTextFormat def marshal(metrics) - metrics_with_type_declarations(metrics).join("\n") + "#{metrics_with_type_declarations(metrics).join("\n")}\n" end private |