From 3932653e009af7dcb7478248c0f5fb78ad26bc84 Mon Sep 17 00:00:00 2001 From: cskh Date: Wed, 2 Jun 2021 19:45:00 -0400 Subject: [PATCH] fix: make function call consistent with otherRSs definition (#1171) Signed-off-by: Hui Kang --- rollout/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollout/controller.go b/rollout/controller.go index 937620fe86..eff685e0fb 100644 --- a/rollout/controller.go +++ b/rollout/controller.go @@ -419,7 +419,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 {