Skip to content

Commit 4936253

Browse files
mruegbwplotka
andauthored
Update prometheus/promhttp/http.go
Co-authored-by: Bartlomiej Plotka <[email protected]> Signed-off-by: Manuel Rüger <[email protected]>
1 parent 2ae50e5 commit 4936253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus/promhttp/http.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ type HandlerOpts struct {
361361
// DisableCompression disables the response encoding (compression) and
362362
// encoding negotiation. If true, the handler will
363363
// never compress the response, even if requested
364-
// by the client and the OfferedCompressions field is ignored.
364+
// by the client and the OfferedCompressions field is set.
365365
DisableCompression bool
366366
// OfferedCompressions is a set of encodings (compressions) handler will
367367
// try to offer when negotiating with the client. This defaults to identity, gzip

0 commit comments

Comments
 (0)