Skip to content

Commit 78811c7

Browse files
jhadvigopenshift-cherrypick-robot
authored andcommitted
OCPBUGS-6488: Recover ConsoleNotificationSync after being degraded
1 parent 8c938a4 commit 78811c7

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)