Skip to content

fix: linter issues

fix: linter issues #22

Triggered via pull request January 23, 2024 18:40
@eddycharlyeddycharly
synchronize #19
fix-linter
Status Failure
Total duration 3m 23s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
required: pkg/api/cpolr.go#L137
Error return value of `c.updatePolr` is not checked (errcheck)
required: pkg/api/cpolr.go#L138
Error return value of `c.broadcaster.Action` is not checked (errcheck)
required: pkg/api/polr.go#L147
Error return value of `p.updatePolr` is not checked (errcheck)
required: pkg/api/polr.go#L148
Error return value of `p.broadcaster.Action` is not checked (errcheck)
required: pkg/server/server.go#L8
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
required: pkg/server/server.go#L12
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
required: pkg/api/install.go#L36
don't use `init` function (gochecknoinits)
required: pkg/storage/inmemory/client.go#L15
File is not `gofumpt`-ed (gofumpt)
required: pkg/storage/monitoring.go#L21
File is not `gofumpt`-ed (gofumpt)
required
issues found