This repository has been archived by the owner on Aug 12, 2024. It is now read-only.
BundleDeployment Healthcheck #1960
Annotations
11 errors and 1 warning
verify
Process completed with exit code 2.
|
lint:
internal/healthchecks/generic/generic.go#L38
Error return value is not checked (errcheck)
|
lint:
internal/healthchecks/generic/generic.go#L39
Error return value is not checked (errcheck)
|
lint:
internal/healthchecks/generic/generic.go#L40
Error return value is not checked (errcheck)
|
lint:
internal/healthchecks/generic/generic.go#L181
Consider pre-allocating `gvkKeys` (prealloc)
|
lint:
internal/controllers/bundledeployment/bundledeployment.go#L473
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
lint:
internal/healthchecks/generic/generic.go#L50
S1034: assigning the result of this type assertion to a variable (switch obj := obj.(type)) could eliminate type assertions in switch cases (gosimple)
|
lint:
internal/healthchecks/generic/generic.go#L52
S1034(related information): could eliminate this type assertion (gosimple)
|
lint:
internal/healthchecks/generic/generic.go#L73
S1034(related information): could eliminate this type assertion (gosimple)
|
lint:
internal/healthchecks/generic/generic.go#L85
S1034(related information): could eliminate this type assertion (gosimple)
|
lint
Process completed with exit code 2.
|
lint:
internal/healthchecks/generic/generic_test.go#L401
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|