refresh observed rollout-id for BatchRelease (#193)
Signed-off-by: mingzhou.swx <mingzhou.swx@alibaba-inc.com> Co-authored-by: mingzhou.swx <mingzhou.swx@alibaba-inc.com>
This commit is contained in:
parent
1e84129ff1
commit
678d4d2b34
|
|
@ -155,6 +155,7 @@ func refreshStatus(release *v1beta1.BatchRelease, newStatus *v1beta1.BatchReleas
|
|||
if len(newStatus.ObservedReleasePlanHash) == 0 {
|
||||
newStatus.ObservedReleasePlanHash = util.HashReleasePlanBatches(&release.Spec.ReleasePlan)
|
||||
}
|
||||
newStatus.ObservedRolloutID = release.Spec.ReleasePlan.RolloutID
|
||||
}
|
||||
|
||||
func isPlanFinalizing(release *v1beta1.BatchRelease) bool {
|
||||
|
|
|
|||
Loading…
Reference in New Issue