Skip to content

Commit

Permalink
fix workflow controller make panic due to processedTmpl is nil
Browse files Browse the repository at this point in the history
Signed-off-by: chengjoey <30427474+chengjoey@users.noreply.github.com>
  • Loading branch information
chengjoey committed Sep 2, 2024
1 parent 8a67009 commit eb9db41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ func (woc *wfOperationCtx) executeDAGTask(ctx context.Context, dagCtx *dagContex
}

// Release acquired lock completed task.
if tmpl != nil {
if processedTmpl != nil {
woc.controller.syncManager.Release(woc.wf, node.ID, processedTmpl.Synchronization)
}

Expand Down

0 comments on commit eb9db41

Please sign in to comment.