Skip to content

Commit a4af5c8

Browse files
authored
Fix doc typo (#1849)
1 parent 83a9730 commit a4af5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus/promhttp/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ func httpError(rsp http.ResponseWriter, err error) {
460460

461461
// negotiateEncodingWriter reads the Accept-Encoding header from a request and
462462
// selects the right compression based on an allow-list of supported
463-
// compressions. It returns a writer implementing the compression and an the
463+
// compressions. It returns a writer implementing the compression and the
464464
// correct value that the caller can set in the response header.
465465
func negotiateEncodingWriter(r *http.Request, rw io.Writer, compressions []string) (_ io.Writer, encodingHeaderValue string, closeWriter func(), _ error) {
466466
if len(compressions) == 0 {

0 commit comments

Comments
 (0)