Skip to content

Commit

Permalink
refresh observed rollout-id for BatchRelease (#193)
Browse files Browse the repository at this point in the history
Signed-off-by: mingzhou.swx <[email protected]>
Co-authored-by: mingzhou.swx <[email protected]>
  • Loading branch information
veophi and mingzhou.swx authored Dec 27, 2023
1 parent 1e84129 commit 678d4d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/batchrelease/batchrelease_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 678d4d2

Please sign in to comment.