From: Aki Tuomi Date: Mon, 17 Feb 2020 11:19:16 +0000 (+0200) Subject: stats: stats-service-openmetrics.c - Fix whitespace formatting X-Git-Tag: 2.3.11.2~311 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8de48a024134f49021fcfc1aa45b256e06517a45;p=thirdparty%2Fdovecot%2Fcore.git stats: stats-service-openmetrics.c - Fix whitespace formatting --- diff --git a/src/stats/stats-service-openmetrics.c b/src/stats/stats-service-openmetrics.c index 5cbac30413..00260c647e 100644 --- a/src/stats/stats-service-openmetrics.c +++ b/src/stats/stats-service-openmetrics.c @@ -160,7 +160,7 @@ openmetrics_export_metric(string_t *out, const struct metric *metric, { if (!openmetrics_check_metric(metric)) return; - + /* Description */ str_append(out, "# HELP dovecot_"); str_append(out, metric->name); @@ -223,7 +223,7 @@ openmetrics_export(struct http_server_response *resp) i_assert(stats_startup_time <= ioloop_time); str_append(out, "# HELP dovecot_stats_uptime_seconds " - "Dovecot stats service uptime\n"); + "Dovecot stats service uptime\n"); str_append(out, "# TYPE dovecot_stats_uptime_seconds counter\n"); str_printfa(out, "dovecot_stats_uptime_seconds %"PRId64" %"PRId64"\n\n", (int64_t)(ioloop_time - stats_startup_time), timestamp);