mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
Ensure the status metric is set after a restart
This commit is contained in:
@@ -118,6 +118,7 @@ func (c *Controller) advanceCanary(name string, namespace string, skipLivenessCh
|
||||
}
|
||||
|
||||
if !shouldAdvance {
|
||||
c.recorder.SetStatus(cd, cd.Status.Phase)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user