Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
Signed-off-by: shuangkun <tsk2013uestc@163.com>
  • Loading branch information
shuangkun committed Apr 12, 2024
1 parent 0e70456 commit 0efe564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/retry_tweak.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func FindRetryNode(nodes wfv1.Nodes, nodeID string) *wfv1.NodeStatus {
}
if boundaryID == "" && node.HasChild(nodeID) {
return &node
} else if node.TemplateName == templateName {
} else if boundaryNode.TemplateName != "" && node.TemplateName == templateName {
return &node
} else if boundaryNode.TemplateRef != nil && node.TemplateRef != nil && node.TemplateRef.Name == boundaryNode.TemplateRef.Name && node.TemplateRef.Template == boundaryNode.TemplateRef.Template {
return &node
Expand Down

0 comments on commit 0efe564

Please sign in to comment.