diff --git a/test/infrastructure/inmemory/pkg/runtime/cache/informer.go b/test/infrastructure/inmemory/pkg/runtime/cache/informer.go index 18fe4ddda93c..beba73571cc4 100644 --- a/test/infrastructure/inmemory/pkg/runtime/cache/informer.go +++ b/test/infrastructure/inmemory/pkg/runtime/cache/informer.go @@ -122,7 +122,7 @@ func (c *cache) informSync(resourceGroup string, obj client.Object) { defer i.lock.RUnlock() for _, h := range i.handlers { - h.OnGeneric(resourceGroup, obj) + h.OnUpdate(resourceGroup, obj, obj) } } }