Skip to content

feat: add initial controller logic #51

feat: add initial controller logic

feat: add initial controller logic #51

Triggered via pull request November 19, 2024 15:19
Status Failure
Total duration 42s
Artifacts

lint.yml

on: pull_request
Run on Ubuntu
30s
Run on Ubuntu
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Run on Ubuntu: internal/controller/helpers.go#L80
Error return value of `response.Body.Close` is not checked (errcheck)
Run on Ubuntu: internal/controller/helpers.go#L90
Error return value of `tempFile.Close` is not checked (errcheck)
Run on Ubuntu: internal/controller/helpers.go#L106
Error return value of `file.Close` is not checked (errcheck)
Run on Ubuntu: internal/controller/helpers.go#L112
Error return value of `gzipReader.Close` is not checked (errcheck)
Run on Ubuntu: internal/controller/helpers.go#L140
Error return value of `outFile.Close` is not checked (errcheck)
Run on Ubuntu: internal/controller/kubewardenaddon_controller.go#L275
Error return value of `os.Remove` is not checked (errcheck)
Run on Ubuntu: internal/controller/kubewardenaddon_controller.go#L281
Error return value of `os.RemoveAll` is not checked (errcheck)
Run on Ubuntu: internal/controller/kubewardenaddon_controller.go#L296
renderHelmChart - result 0 (string) is never used (unparam)
Run on Ubuntu
issues found