From 717d3d342b00e491bad0160f8cade6d42b536883 Mon Sep 17 00:00:00 2001 From: Arianna Vespri <36129782+vesari@users.noreply.github.com> Date: Thu, 9 May 2024 15:14:02 +0200 Subject: [PATCH] Update prometheus/promhttp/http.go Co-authored-by: Bartlomiej Plotka Signed-off-by: Arianna Vespri <36129782+vesari@users.noreply.github.com> --- prometheus/promhttp/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/promhttp/http.go b/prometheus/promhttp/http.go index 67e26cd..781f8bc 100644 --- a/prometheus/promhttp/http.go +++ b/prometheus/promhttp/http.go @@ -389,7 +389,7 @@ type HandlerOpts struct { type OpenMetricsOptions struct { Enable bool - // If true, EnableUnit adds the unit to the encoder options, ultimately allowing the + // EnableUnit adds the unit to the encoder options, ultimately allowing the // unit into the final output, provided that either EnableOpenMetrics or // OpenMetricsOptions.Enable is also true. EnableUnit bool