Skip to content

Commit

Permalink
fix: cluster phase are empty in a long time (#8600)
Browse files Browse the repository at this point in the history
(cherry picked from commit f14ecf2)
  • Loading branch information
wangyelei committed Dec 6, 2024
1 parent 107ce15 commit 4d7550b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/apps/transformer_cluster_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func composeClusterPhase(statusList []appsv1.ClusterComponentStatus) appsv1.Clus
}
for _, status := range statusList {
phase := status.Phase
if !isPhaseIn(phase, appsv1.CreatingComponentPhase) {
if !isPhaseIn(phase, appsv1.CreatingComponentPhase, "") {
isAllComponentCreating = false
}
if !isPhaseIn(phase, appsv1.RunningComponentPhase, appsv1.StoppedComponentPhase) {
Expand Down

0 comments on commit 4d7550b

Please sign in to comment.