From d3517e1c3f3c53f7fafa10909de5404f4ea54764 Mon Sep 17 00:00:00 2001 From: "C. Torres" Date: Sun, 27 Jul 2025 12:14:43 -0300 Subject: [PATCH] Fix doc typo Fix typo on function documentation. Signed-off-by: C. Torres --- 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 763d99e36..fd3c76342 100644 --- a/prometheus/promhttp/http.go +++ b/prometheus/promhttp/http.go @@ -460,7 +460,7 @@ func httpError(rsp http.ResponseWriter, err error) { // negotiateEncodingWriter reads the Accept-Encoding header from a request and // selects the right compression based on an allow-list of supported -// compressions. It returns a writer implementing the compression and an the +// compressions. It returns a writer implementing the compression and the // correct value that the caller can set in the response header. func negotiateEncodingWriter(r *http.Request, rw io.Writer, compressions []string) (_ io.Writer, encodingHeaderValue string, closeWriter func(), _ error) { if len(compressions) == 0 {