From 4feb10df8e243a7563d1fe04424aed541140a78f Mon Sep 17 00:00:00 2001 From: "Phuong D. Nguyen" Date: Fri, 19 Apr 2024 07:33:14 +0700 Subject: [PATCH] Update promotions.go Co-authored-by: Kent Rancourt Signed-off-by: Phuong D. Nguyen --- internal/controller/promotions/promotions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/promotions/promotions.go b/internal/controller/promotions/promotions.go index e45aa8d5c..5e8cf6bdb 100644 --- a/internal/controller/promotions/promotions.go +++ b/internal/controller/promotions/promotions.go @@ -436,7 +436,7 @@ func (r *reconciler) promote( if err != nil { return nil, err } - newStatus = newStatus.WithFreight(&targetFreight) + newStatus = newStatus.WithFreight(&nextFreight) logger.Debugf("promotion %s", newStatus.Phase)