diff --git a/pkg/storage/memorystorage/memory_storage.go b/pkg/storage/memorystorage/memory_storage.go index 0938d9162..1f71149ba 100644 --- a/pkg/storage/memorystorage/memory_storage.go +++ b/pkg/storage/memorystorage/memory_storage.go @@ -94,7 +94,6 @@ func (s *StorageFactory) CleanClusterResource(ctx context.Context, cluster strin if rs, ok := storages.resourceStorages[gvr]; ok { rs.CrvSynchro.RemoveCluster(cluster) rs.watchCache.CleanCluster(cluster) - delete(s.clusters, cluster) } return nil