fix: π handleState for review controller #317
Annotations
10 errors
|
Run on Ubuntu:
internal/controller/jobrequest_controller_test.go#L320
ginkgo-linter: wrong length assertion. Consider using `Expect(jobList.Items).To(BeEmpty())` instead (ginkgolinter)
|
|
Run on Ubuntu:
internal/controller/jobrequest_controller_test.go#L209
ginkgo-linter: wrong error assertion. Consider using `Expect(deleteErr).ToNot(HaveOccurred())` instead (ginkgolinter)
|
|
Run on Ubuntu:
internal/controller/jobrequest_controller_test.go#L177
ginkgo-linter: wrong length assertion. Consider using `Expect(jobList.Items[0].Spec.Template.Spec.Containers).To(HaveLen(1))` instead (ginkgolinter)
|
|
Run on Ubuntu:
internal/controller/jobrequest_controller_test.go#L173
ginkgo-linter: wrong length assertion. Consider using `Expect(jobList.Items).To(HaveLen(1))` instead (ginkgolinter)
|
|
Run on Ubuntu:
internal/controller/jobrequest_controller_test.go#L367
Error return value of `k8sApiReader.List` is not checked (errcheck)
|
|
Run on Ubuntu:
internal/controller/jobrequest_controller_test.go#L318
Error return value of `k8sApiReader.List` is not checked (errcheck)
|
|
Run on Ubuntu:
internal/controller/jobrequest_controller_test.go#L237
Error return value of `k8sClient.Get` is not checked (errcheck)
|
|
Run on Ubuntu:
internal/controller/jobrequest_controller_test.go#L194
Error return value of `k8sClient.Get` is not checked (errcheck)
|
|
Run on Ubuntu:
internal/controller/jobrequest_controller_test.go#L171
Error return value of `k8sApiReader.List` is not checked (errcheck)
|
|
Run on Ubuntu:
internal/controller/jobrequest_controller_test.go#L152
Error return value of `k8sClient.Get` is not checked (errcheck)
|