Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

BundleDeployment Healthcheck #1960

BundleDeployment Healthcheck

BundleDeployment Healthcheck #1960

Triggered via pull request September 6, 2023 14:45
Status Failure
Total duration 5m 11s
Artifacts

sanity.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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)