Skip to content

Commit 11c9623

Browse files
author
Arvind Thirumurugan
committed
update stuck err msg
Signed-off-by: Arvind Thirumurugan <arvindth@microsoft.com>
1 parent 00d8002 commit 11c9623

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controllers/updaterun/execution.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,14 +589,14 @@ func markUpdateRunProgressingIfNotWaitingOrStuck(updateRun placementv1beta1.Upda
589589
}
590590

591591
// markUpdateRunStuck marks the updateRun as stuck in memory.
592-
func markUpdateRunStuck(updateRun placementv1beta1.UpdateRunObj, stageName, clusterName string) {
592+
func markUpdateRunStuck(updateRun placementv1beta1.UpdateRunObj, stageName, clusterNames string) {
593593
updateRunStatus := updateRun.GetUpdateRunStatus()
594594
meta.SetStatusCondition(&updateRunStatus.Conditions, metav1.Condition{
595595
Type: string(placementv1beta1.StagedUpdateRunConditionProgressing),
596596
Status: metav1.ConditionFalse,
597597
ObservedGeneration: updateRun.GetGeneration(),
598598
Reason: condition.UpdateRunStuckReason,
599-
Message: fmt.Sprintf("The updateRun is stuck waiting for cluster %s in stage %s to finish updating, please check placement status for potential errors", clusterName, stageName),
599+
Message: fmt.Sprintf("The updateRun is stuck waiting for cluster/clusters %s in stage %s to finish updating, please check placement status for potential errors", clusterNames, stageName),
600600
})
601601
}
602602

0 commit comments

Comments
 (0)