Skip to content

refact: remove unused struct fields, enable related linter #5605

refact: remove unused struct fields, enable related linter

refact: remove unused struct fields, enable related linter #5605

Triggered via pull request November 18, 2024 14:24
Status Failure
Total duration 17m 2s
Artifacts

go-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Build + tests: pkg/acquisition/modules/syslog/internal/parser/rfc5424/parse.go#L24
field `useCurrentYear` is unused (unused)
Build + tests: pkg/appsec/appsec_rules_collection.go#L16
field `collectionName` is unused (unused)
Build + tests: pkg/csplugin/hclog_adapter.go#L41
field `impliedArgs` is unused (unused)
Build + tests: cmd/crowdsec-cli/cliexplain/explain.go#L47
field `cfg` is unused (unused)
Build + tests: cmd/crowdsec/lpmetrics.go#L38
field `consoleOptions` is unused (unused)
Build + tests
issues found