Skip to content

Commit

Permalink
fix: Task result comparison is incorrect, leading to inconsistent com…
Browse files Browse the repository at this point in the history
…parison results. (argoproj#13211)

Signed-off-by: oninowang <[email protected]>
  • Loading branch information
jswxstw authored and Joibel committed Sep 19, 2024
1 parent f144e78 commit 6218a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/taskresult.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (woc *wfOperationCtx) taskResultReconciliation() error {
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")
Expand Down

0 comments on commit 6218a0b

Please sign in to comment.