Run CI #1489
Annotations
10 errors
Run golangci-lint:
rover/internal/controller/rover_controller_test.go#L354
ginkgo-linter: wrong length assertion. Consider using `g.Expect(rover.Status.ApiExposures).To(BeEmpty())` instead (ginkgolinter)
|
Run golangci-lint:
rover/internal/controller/rover_controller_test.go#L301
ginkgo-linter: wrong boolean assertion. Consider using `g.Expect(application.Spec.NeedsConsumer).To(BeFalse())` instead (ginkgolinter)
|
Run golangci-lint:
rover/internal/controller/rover_controller_test.go#L300
ginkgo-linter: wrong boolean assertion. Consider using `g.Expect(application.Spec.NeedsClient).To(BeFalse())` instead (ginkgolinter)
|
Run golangci-lint:
rover/internal/controller/rover_controller_test.go#L288
ginkgo-linter: "Eventually": missing assertion method. Expected "Should()" or "ShouldNot()" (ginkgolinter)
|
Run golangci-lint:
rover/internal/controller/rover_controller_test.go#L268
ginkgo-linter: use Equal with different types: Comparing github.com/telekom/controlplane/api/api/v1.Approval with github.com/telekom/controlplane/api/api/v1.ApprovalStrategy; either change the expected value type if possible, or use the BeEquivalentTo() matcher, instead of Equal() (ginkgolinter)
|
Run golangci-lint:
rover/internal/controller/rover_controller_test.go#L255
ginkgo-linter: "Eventually": missing assertion method. Expected "Should()" or "ShouldNot()" (ginkgolinter)
|
Run golangci-lint:
rover/internal/controller/rover_controller_test.go#L208
ginkgo-linter: "Eventually": missing assertion method. Expected "Should()" or "ShouldNot()" (ginkgolinter)
|
Run golangci-lint:
rover/internal/controller/rover_controller_test.go#L134
ginkgo-linter: wrong boolean assertion. Consider using `g.Expect(application.Spec.NeedsConsumer).To(BeTrue())` instead (ginkgolinter)
|
Run golangci-lint:
rover/internal/controller/rover_controller_test.go#L133
ginkgo-linter: wrong boolean assertion. Consider using `g.Expect(application.Spec.NeedsClient).To(BeTrue())` instead (ginkgolinter)
|
Run golangci-lint:
rover/internal/controller/apispecification_controller_test.go#L87
ginkgo-linter: wrong boolean assertion. Consider using `g.Expect(api.Spec.XVendor).To(BeTrue())` instead (ginkgolinter)
|
Loading