summaryrefslogtreecommitdiff
path: root/lib/gitlab/health_checks
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 15:55:44 +0200
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 19:48:39 +0200
commitd26573c6e3de535f69437deaf54d5c151ac343c8 (patch)
tree7a136066f4c5b9ac54593e2445a89d78651a236b /lib/gitlab/health_checks
parent6a67148ed3543ee5073ab49dc4e825f3d87cc8b5 (diff)
downloadgitlab-ce-d26573c6e3de535f69437deaf54d5c151ac343c8.tar.gz
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.rb2
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