Skip to content

Commit

Permalink
Update prometheus/promhttp/http.go
Browse files Browse the repository at this point in the history
Co-authored-by: Bartlomiej Plotka <[email protected]>
Signed-off-by: Manuel Rüger <[email protected]>
  • Loading branch information
mrueg and bwplotka authored Jun 4, 2024
1 parent 99037c1 commit dbab5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus/promhttp/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func HandlerForTransactional(reg prometheus.TransactionalGatherer, opts HandlerO
}
}

// Select all supported compression formats
// Select compression formats to offer based on default or user choice.
var compressions []string
if !opts.DisableCompression {
offers := defaultCompressionFormats
Expand Down

0 comments on commit dbab5fa

Please sign in to comment.