Skip to content

expfmt: add NegotiateFormats and NegotiateFormatsIncludingOpenMetrics #2194

expfmt: add NegotiateFormats and NegotiateFormatsIncludingOpenMetrics

expfmt: add NegotiateFormats and NegotiateFormatsIncludingOpenMetrics #2194

Triggered via pull request June 23, 2026 15:02
Status Failure
Total duration 28s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
lint
issues found
lint: expfmt/encode_test.go#L411
formatter: use assert.Equalf (testifylint)
lint: expfmt/encode_test.go#L409
formatter: use require.Lenf (testifylint)
lint: expfmt/encode_test.go#L200
formatter: use assert.Equalf (testifylint)
lint: expfmt/encode_test.go#L198
formatter: use require.Lenf (testifylint)
lint: expfmt/encode.go#L110
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: expfmt/encode.go#L19
File is not properly formatted (gci)