Skip to content

add lint on unit test #110

add lint on unit test

add lint on unit test #110

Triggered via push March 15, 2024 01:54
Status Failure
Total duration 1m 8s
Artifacts

main.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 1 warning
build: internal/controller/rbdpvcbackup_controller.go#L56
Error return value of `stdout.Close` is not checked (errcheck)
build: internal/controller/rbdpvcbackup_controller.go#L64
Error return value of `stdin.Close` is not checked (errcheck)
build: internal/controller/rbdpvcbackup_controller.go#L116
cyclomatic complexity 33 of func `(*RBDPVCBackupReconciler).Reconcile` is high (> 30) (gocyclo)
build: internal/controller/rbdpvcbackup_controller.go#L235
unnecessary conversion (unconvert)
build
Process completed with exit code 2.
build
Cannot open: File exists
build
Cannot open: File exists
build
Cannot open: File exists
build
Cannot open: File exists
build
Cannot open: File exists
build
Cannot open: File exists
build
Cannot open: File exists
build
Cannot open: File exists
build
Cannot open: File exists
build
Cannot open: File exists
build
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2