wip with all tests and reconciliations #32
Annotations
11 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/admission/wardleinitializer/wardleinitializer_test.go#L53
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Golangci-lint:
internal/admission/wardleinitializer/wardleinitializer_test.go#L56
unused-parameter: parameter 'o' seems to be unused, consider removing or renaming it as _ (revive)
|
Test
Process completed with exit code 2.
|