Skip to content

Commit

Permalink
remove update to UpdatedReplicas
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Aller <zachaller@users.noreply.github.com>
  • Loading branch information
zachaller committed May 10, 2024
1 parent 7411720 commit f4a2e27
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rollout/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ func (c *rolloutContext) syncReplicasOnly() error {
}
newStatus.AvailableReplicas = replicasetutil.GetAvailableReplicaCountForReplicaSets(c.allRSs)
newStatus.HPAReplicas = replicasetutil.GetActualReplicaCountForReplicaSets(c.allRSs)
newStatus.UpdatedReplicas = replicasetutil.GetActualReplicaCountForReplicaSets([]*appsv1.ReplicaSet{c.newRS})
}
return c.persistRolloutStatus(newStatus)
}
Expand Down

0 comments on commit f4a2e27

Please sign in to comment.