Skip to content

Update for prometheus-community #2

Update for prometheus-community

Update for prometheus-community #2

Triggered via pull request October 31, 2024 16:43
Status Failure
Total duration 35s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: exporter.go#L77
Error return value of `re.set` is not checked (errcheck)
lint: exporter.go#L86
Error return value of `re.set` is not checked (errcheck)
lint: exporter.go#L95
Error return value of `re.set` is not checked (errcheck)
lint: exporter_test.go#L23
Error return value of `exporter.handleStatLine` is not checked (errcheck)
lint: exporter_test.go#L40
Error return value of `exporter.handleStatLine` is not checked (errcheck)
lint: exporter_test.go#L278
Error return value of `exporter.handleStatLine` is not checked (errcheck)
lint: main.go#L60
Error return value of `w.Write` is not checked (errcheck)
lint: exporter.go#L44
field `started` is unused (unused)
lint: exporter.go#L45
field `logfile` is unused (unused)
lint: input_imudp_test.go#L22
tests: TestgetInputIMUDP has malformed name: first letter after 'Test' must not be lowercase (govet)