diff --git a/pkg/sqlcache/informer/listoption_indexer.go b/pkg/sqlcache/informer/listoption_indexer.go index 5549389b..5a00eb17 100644 --- a/pkg/sqlcache/informer/listoption_indexer.go +++ b/pkg/sqlcache/informer/listoption_indexer.go @@ -464,7 +464,7 @@ func (l *ListOptionIndexer) notifyEvent(eventType watch.EventType, oldObj any, o watcher.ch <- watch.Event{ Type: eventType, - Object: obj.(runtime.Object), + Object: obj.(runtime.Object).DeepCopyObject(), } } l.watchersLock.RUnlock()