Skip to content

Commit ce19dbb

Browse files
Merge pull request #728 from openshift-cherrypick-robot/cherry-pick-725-to-release-4.12
[release-4.12] OCPBUGS-6921: Recover ConsoleNotificationSync after being degraded
2 parents 8c938a4 + 78811c7 commit ce19dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/console/controllers/upgradenotification/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ func (c *UpgradeNotificationController) Sync(ctx context.Context, controllerCont
9494
reason, err := c.syncClusterUpgradeNotification(ctx)
9595
if err != nil {
9696
klog.V(4).Infof("error syncing %s consolenotification custom resource: %s", api.UpgradeConsoleNotification, err)
97-
statusHandler.AddConditions(status.HandleProgressingOrDegraded("ConsoleNotificationSync", reason, err))
9897
}
98+
statusHandler.AddConditions(status.HandleProgressingOrDegraded("ConsoleNotificationSync", reason, err))
9999
return statusHandler.FlushAndReturn(err)
100100
}
101101

0 commit comments

Comments
 (0)