From 35a701c4f8cc8999fd774700d57e0ae9cd0f4fbb Mon Sep 17 00:00:00 2001 From: jswxstw Date: Tue, 18 Jun 2024 14:38:07 +0800 Subject: [PATCH] fix: Task result comparison is incorrect, leading to inconsistent comparison results. Signed-off-by: oninowang --- workflow/controller/taskresult.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/controller/taskresult.go b/workflow/controller/taskresult.go index be4bed0db701..ec62883a3168 100644 --- a/workflow/controller/taskresult.go +++ b/workflow/controller/taskresult.go @@ -90,7 +90,7 @@ func (woc *wfOperationCtx) taskResultReconciliation() { if result.Progress.IsValid() { newNode.Progress = result.Progress } - if !reflect.DeepEqual(&old, newNode) { + if !reflect.DeepEqual(old, newNode) { woc.log. WithField("nodeID", nodeID). Info("task-result changed")