Skip to content

performancecounter: fix panic with counter names having brackets #1544

performancecounter: fix panic with counter names having brackets

performancecounter: fix panic with counter names having brackets #1544

Triggered via pull request December 27, 2024 21:02
Status Failure
Total duration 3m 1s
Artifacts 1

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
lint: internal/collector/performancecounter/performancecounter.go#L57
field `metricNameReplacer` is unused (unused)
lint: internal/collector/performancecounter/performancecounter.go#L169
named return "field" with type "reflect.StructField" found (nonamedreturns)
lint
issues found

Artifacts

Produced during runtime
Name Size
windows_exporter.amd64.exe Expired
11.8 MB