Skip to content

Migrate to kubebuilder go/v4 #2

Migrate to kubebuilder go/v4

Migrate to kubebuilder go/v4 #2

Triggered via pull request May 5, 2024 15:24
Status Failure
Total duration 45s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/sinks/mattermost.go#L103
Error return value of `resp.Body.Close` is not checked (errcheck)
lint: pkg/sinks/slack.go#L73
Error return value of `resp.Body.Close` is not checked (errcheck)
lint: pkg/client/client.go#L77
Error return value of `conn.Close` is not checked (errcheck)
lint: internal/controller/k8sgpt_controller.go#L224
Error return value of `k8sgptClient.Close` is not checked (errcheck)
lint: internal/controller/k8sgpt_controller.go#L97
cyclomatic complexity 53 of func `(*K8sGPTReconciler).Reconcile` is high (> 30) (gocyclo)
lint: pkg/client/analysis.go#L15
line is 141 characters (lll)
lint: pkg/resources/k8sgpt.go#L310
line is 168 characters (lll)
lint: pkg/resources/k8sgpt.go#L311
line is 145 characters (lll)
lint: pkg/resources/k8sgpt.go#L331
line is 124 characters (lll)
lint: pkg/resources/k8sgpt.go#L403
line is 125 characters (lll)