Skip to content

Commit

Permalink
Merge pull request #590 from zhengxiexie/zhengxie/vpc_gc_bug
Browse files Browse the repository at this point in the history
Fix bug in GC of VPC
  • Loading branch information
zhengxiexie committed May 28, 2024
2 parents 0b74b34 + fc3a2d8 commit c55f0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/networkinfo/networkinfo_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func (r *NetworkInfoReconciler) GarbageCollector(cancel chan bool, timeout time.

nsSet := sets.NewString()
for _, ns := range namespaces.Items {
nsSet.Insert(ns.Namespace)
nsSet.Insert(ns.Name)
}

for _, elem := range nsxVPCList {
Expand Down

0 comments on commit c55f0ad

Please sign in to comment.