Skip to content

Commit 7a10659

Browse files
committed
Improve the risk message
1 parent 9cec473 commit 7a10659

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/cvo/status.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ func updateClusterVersionStatus(
240240
// Here Recommended=True because admins accept risks already leads to no error.
241241
if shouldReconcileAcceptRisks() && len(riskNamesForDesiredImage) > 0 {
242242
if risksMsg == "" {
243-
risksMsg = fmt.Sprintf("The target release %s is exposed to the risks [%s] and accepted by CVO because either the risk is considered acceptable by the cluster admin or it does not apply to the cluster.", desired.Image, strings.Join(riskNamesForDesiredImage, ","))
243+
risksMsg = fmt.Sprintf("The target release %s is exposed to the risks [%s] which were all explicitly accepted by the cluster administrator.", desired.Image, strings.Join(riskNamesForDesiredImage, ","))
244244
} else {
245-
risksMsg = fmt.Sprintf("%s; It is exposed to the risks [%s] and accepted by CVO because either the risk is considered acceptable by the cluster admin or it does not apply to the cluster.", risksMsg, strings.Join(riskNamesForDesiredImage, ","))
245+
risksMsg = fmt.Sprintf("%s; It is exposed to the risks [%s] which were all explicitly accepted by the cluster administrator.", risksMsg, strings.Join(riskNamesForDesiredImage, ","))
246246
}
247247
}
248248
}

0 commit comments

Comments
 (0)