From 12193b5d3cd57bded1cfdd2c901f6b1378c3b512 Mon Sep 17 00:00:00 2001 From: Alexandre Gaudreault Date: Mon, 12 Aug 2024 12:15:06 -0400 Subject: [PATCH] dco Signed-off-by: Alexandre Gaudreault --- rollout/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollout/controller.go b/rollout/controller.go index 8c5c905ef1..50e7b3e215 100644 --- a/rollout/controller.go +++ b/rollout/controller.go @@ -992,7 +992,7 @@ func (c *rolloutContext) updateReplicaSetFallbackToPatch(ctx context.Context, rs } if _, found := rs.Annotations[v1alpha1.DefaultReplicaSetScaleDownDeadlineAnnotationKey]; found { - patchRS.Annotations[v1alpha1.DefaultReplicaSetScaleDownDeadlineAnnotationKey] = rs.Labels[v1alpha1.DefaultReplicaSetScaleDownDeadlineAnnotationKey] + patchRS.Annotations[v1alpha1.DefaultReplicaSetScaleDownDeadlineAnnotationKey] = rs.Annotations[v1alpha1.DefaultReplicaSetScaleDownDeadlineAnnotationKey] } if _, found := rs.Spec.Selector.MatchLabels[v1alpha1.DefaultRolloutUniqueLabelKey]; found {