Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e2c221

Browse files
authored
fix: reset the taskgroup. fixes #14769 (#14832)
Signed-off-by: isubasinghe <[email protected]>
1 parent 87b2c64 commit 3e2c221

File tree

2 files changed

+494
-0
lines changed

2 files changed

+494
-0
lines changed

workflow/util/util.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,9 @@ func resetBoundaries(n *dagNode, resetFunc resetFn) (*dagNode, error) {
10011001
if curr.parent != nil && curr.parent.n.Type == wfv1.NodeTypeStepGroup {
10021002
resetFunc(curr.parent.n.ID)
10031003
}
1004+
if curr.parent != nil && curr.parent.n.Type == wfv1.NodeTypeTaskGroup {
1005+
resetFunc(curr.parent.n.ID)
1006+
}
10041007
seekingBoundaryID := curr.n.BoundaryID
10051008
if seekingBoundaryID == "" {
10061009
return curr.parent, nil

0 commit comments

Comments
 (0)