Skip to content

Commit 89a2145

Browse files
author
v-pashas
committed
fix failing tests
Signed-off-by: v-pashas <[email protected]>
1 parent 57319c5 commit 89a2145

File tree

1 file changed

+1
-1
lines changed
  • rollout/trafficrouting/alb

1 file changed

+1
-1
lines changed

rollout/trafficrouting/alb/alb.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func (r *Reconciler) VerifyWeight(desiredWeight int32, additionalDestinations ..
202202
return nil, nil
203203
}
204204

205-
if !rolloututil.ShouldVerifyWeight(r.cfg.Rollout, desiredWeight) {
205+
if !rolloututil.ShouldVerifyWeight(r.cfg.Rollout) {
206206
// If we should not verify weight but the ALB status has not been set yet due to a Rollout resource just being
207207
// installed in the cluster we want to actually run the rest of the function, so we do not return if
208208
// r.cfg.Rollout.Status.ALB is nil. However, if we should not verify, and we have already updated the status once

0 commit comments

Comments
 (0)