🌱 Create RemoveOwnerReference
function in controllerutil to remove owner references from objects
#2060
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
|