Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: duanmengkk <[email protected]>
  • Loading branch information
duanmengkk committed Aug 12, 2024
1 parent 84726c6 commit 502ce20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/clustertree/cluster-manager/cluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (c *ClusterController) clearClusterControllers(cluster *kosmosv1alpha1.Clus

actualClusterName := leafUtils.GetActualClusterName(cluster)
c.GlobalLeafResourceManager.RemoveLeafResource(cluster.Name)
c.GlobalLeafResourceManager.RemoveLeafResource(actualClusterName)
c.GlobalLeafClientManager.RemoveLeafClientResource(actualClusterName)
}

func (c *ClusterController) setupControllers(
Expand Down

0 comments on commit 502ce20

Please sign in to comment.