chore(controller): fix linter #23
ci.yml
on: push
Unit tests
3m 50s
Golangci-lint
4m 48s
Annotations
11 errors
Unit tests
Process completed with exit code 2.
|
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/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)
|
Golangci-lint:
internal/registry/storage.go#L30
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|