Skip to content

Commit a775742

Browse files
fix: fix a broken method (#223)
Merging #153 broke main since it was using an plder version of controller-runtime. This commit fixes the same. Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
1 parent 2bd2a0a commit a775742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/reconciler/reconciler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ var _ = Describe("Reconciler", func() {
13431343
controllerSetupCalled = true
13441344
u := &unstructured.Unstructured{}
13451345
u.SetGroupVersionKind(additionalGVK)
1346-
return c.Watch(&source.Kind{Type: u}, &sdkhandler.InstrumentedEnqueueRequestForObject{})
1346+
return c.Watch(source.Kind(mgr.GetCache(), u), &sdkhandler.InstrumentedEnqueueRequestForObject{})
13471347
}
13481348

13491349
It("Registering builder setup function for reconciler works", func() {

0 commit comments

Comments
 (0)