From 26e8c387d3db89bc538960481e115edeb5555417 Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Fri, 10 Jan 2025 13:54:25 +0100 Subject: [PATCH] Fix resync in in-memory provider MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Büringer buringerst@vmware.com --- test/infrastructure/inmemory/pkg/runtime/cache/informer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } } }