Skip to content

Commit

Permalink
fix: make funcioin call consistent with otherRSs definition
Browse files Browse the repository at this point in the history
Signed-off-by: Hui Kang <hui.kang@salesforce.com>
  • Loading branch information
Hui Kang committed May 13, 2021
1 parent 125c9d9 commit bb4cd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollout/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ func (c *Controller) newRolloutContext(rollout *v1alpha1.Rollout) (*rolloutConte
newRS := replicasetutil.FindNewReplicaSet(rollout, rsList)
olderRSs := replicasetutil.FindOldReplicaSets(rollout, rsList)
stableRS := replicasetutil.GetStableRS(rollout, newRS, olderRSs)
otherRSs := replicasetutil.GetOtherRSs(rollout, newRS, stableRS, olderRSs)
otherRSs := replicasetutil.GetOtherRSs(rollout, newRS, stableRS, rsList)

exList, err := c.getExperimentsForRollout(rollout)
if err != nil {
Expand Down

0 comments on commit bb4cd6a

Please sign in to comment.