We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f28014 commit d9a7f2aCopy full SHA for d9a7f2a
1 file changed
pkg/cli/admin/upgrade/recommend/alerts.go
@@ -30,7 +30,7 @@ func (o *options) alerts(ctx context.Context) ([]acceptableCondition, error) {
30
31
// if the AcceptRisks feature gate AND hypershift is not enabled,
32
// the CVO is handling alerts and will generate the Recommended condition if needed
33
- if cv == nil && isAcceptRisksEnabled(featureGates, cv.Status.Desired.Version) && !isHypershiftEnabled(infrastructure) {
+ if cv != nil && isAcceptRisksEnabled(featureGates, cv.Status.Desired.Version) && !isHypershiftEnabled(infrastructure) {
34
return nil, nil
35
}
36
0 commit comments