Skip to content

🌱 Create RemoveOwnerReference function in controllerutil to remove owner references from objects #2060

🌱 Create RemoveOwnerReference function in controllerutil to remove owner references from objects

🌱 Create RemoveOwnerReference function in controllerutil to remove owner references from objects #2060

Triggered via pull request September 12, 2023 17:34
Status Failure
Total duration 44s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

7 errors
lint: pkg/controller/controllerutil/controllerutil_test.go#L130
ginkgo-linter: wrong length assertion; consider using `Expect(rs.GetOwnerReferences()).To(BeEmpty())` instead (ginkgolinter)
lint: pkg/controller/controllerutil/controllerutil_test.go#L149
ginkgo-linter: wrong length assertion; consider using `Expect(rs.GetOwnerReferences()).To(BeEmpty())` instead (ginkgolinter)
lint: pkg/controller/controllerutil/controllerutil_test.go#L159
ginkgo-linter: wrong length assertion; consider using `Expect(rs.GetOwnerReferences()).To(BeEmpty())` instead (ginkgolinter)
lint: pkg/controller/controllerutil/controllerutil_test.go#L170
ginkgo-linter: wrong length assertion; consider using `Expect(rs.GetOwnerReferences()).To(HaveLen(1))` instead (ginkgolinter)
lint: pkg/controller/controllerutil/controllerutil_test.go#L182
ginkgo-linter: wrong length assertion; consider using `Expect(rs.GetOwnerReferences()).To(HaveLen(1))` instead (ginkgolinter)
lint: pkg/controller/controllerutil/controllerutil_test.go#L196
ginkgo-linter: wrong length assertion; consider using `Expect(rs.GetOwnerReferences()).To(HaveLen(1))` instead (ginkgolinter)
lint
issues found