Skip to content

Commit 3932653

Browse files
authored
fix: make function call consistent with otherRSs definition (argoproj#1171)
Signed-off-by: Hui Kang <[email protected]>
1 parent 04201fb commit 3932653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollout/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ func (c *Controller) newRolloutContext(rollout *v1alpha1.Rollout) (*rolloutConte
419419
newRS := replicasetutil.FindNewReplicaSet(rollout, rsList)
420420
olderRSs := replicasetutil.FindOldReplicaSets(rollout, rsList)
421421
stableRS := replicasetutil.GetStableRS(rollout, newRS, olderRSs)
422-
otherRSs := replicasetutil.GetOtherRSs(rollout, newRS, stableRS, olderRSs)
422+
otherRSs := replicasetutil.GetOtherRSs(rollout, newRS, stableRS, rsList)
423423

424424
exList, err := c.getExperimentsForRollout(rollout)
425425
if err != nil {

0 commit comments

Comments
 (0)