mirror of
https://github.com/fluxcd/flagger.git
synced 2026-04-15 06:57:34 +00:00
fix: full weight => total weight
This commit is contained in:
@@ -405,7 +405,7 @@ func (c *Controller) runPromotionTrafficShift(canary *flaggerv1.Canary, canaryCo
|
||||
return
|
||||
}
|
||||
|
||||
// increment the primary traffic weight until it reaches 100%/full weight
|
||||
// increment the primary traffic weight until it reaches total weight
|
||||
if canaryWeight > 0 {
|
||||
primaryWeight += canary.GetAnalysis().StepWeightPromotion
|
||||
if primaryWeight > c.totalWeight(canary) {
|
||||
|
||||
Reference in New Issue
Block a user