feat(controller): image SBOM discovery reconciliation #47
ci.yml
on: pull_request
Test
1m 29s
Golangci-lint
51s
Annotations
10 errors
Golangci-lint:
cmd/worker/main.go#L43
Error return value of `msg.Ack` is not checked (errcheck)
|
Golangci-lint:
internal/registry/storage.go#L38
Error return value is not checked (errcheck)
|
Golangci-lint:
cmd/worker/main.go#L39
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Golangci-lint:
cmd/worker/main.go#L41
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Golangci-lint:
cmd/worker/main.go#L42
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Golangci-lint:
cmd/storage/server/start.go#L66
G115: integer overflow conversion uint -> int (gosec)
|
Golangci-lint:
internal/controller/sbom_controller.go#L83
`if len(sbomList.Items) == len(imageList.Items)` has complex nested blocks (complexity: 6) (nestif)
|
Golangci-lint:
internal/admission/wardleinitializer/wardleinitializer.go#L31
unexported-return: exported func New returns unexported type wardleinitializer.pluginInitializer, which can be annoying to use (revive)
|
Golangci-lint:
internal/registry/storage.go#L30
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Golangci-lint:
internal/registry/storage.go#L49
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|