Skip to content

Commit

Permalink
fix: Incorrect cluster management component status display (#2103)
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <[email protected]>
  • Loading branch information
zzzhangqi authored Dec 18, 2024
1 parent 325fb30 commit 497a119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/handler/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ func (c *clusterAction) ListRainbondComponents(ctx context.Context) (res []*mode
// rainbond operator
roPods, err := c.clientset.CoreV1().Pods(utils.GetenvDefault("RBD_NAMESPACE", constants.Namespace)).List(ctx, metav1.ListOptions{
LabelSelector: fields.SelectorFromSet(map[string]string{
"release": "rainbond-operator",
"name": "rainbond-operator",
}).String(),
})
if err != nil {
Expand Down

0 comments on commit 497a119

Please sign in to comment.