Ensure the status metric is set after a restart

This commit is contained in:
stefanprodan
2019-03-28 11:52:13 +02:00
parent fbdf38e990
commit 48d9a0dede
+1
View File
@@ -118,6 +118,7 @@ func (c *Controller) advanceCanary(name string, namespace string, skipLivenessCh
}
if !shouldAdvance {
c.recorder.SetStatus(cd, cd.Status.Phase)
return
}