Skip to content

Commit

Permalink
memorystorage: fix deleting cluster info when cleaning a resource
Browse files Browse the repository at this point in the history
Signed-off-by: Iceber Gu <[email protected]>
  • Loading branch information
Iceber committed Nov 20, 2024
1 parent 34e9afc commit df2a249
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/storage/memorystorage/memory_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df2a249

Please sign in to comment.