Skip to content

Commit 3f0b539

Browse files
mruegbwplotka
andcommitted
Update prometheus/promhttp/http.go
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com> Signed-off-by: Manuel Rüger <manuel@rueg.eu>
1 parent 6543321 commit 3f0b539

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
@@ -133,7 +133,7 @@ func HandlerForTransactional(reg prometheus.TransactionalGatherer, opts HandlerO
133133
}
134134
}
135135

136-
// Select all supported compression formats
136+
// Select compression formats to offer based on default or user choice.
137137
var compressions []string
138138
if !opts.DisableCompression {
139139
offers := defaultCompressionFormats

0 commit comments

Comments
 (0)