mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-27 14:49:56 +00:00
Ensure branches execute independently without affecting each other
This commit is contained in:
parent
124af0b76d
commit
a5d097e860
@ -33,7 +33,7 @@ func (w *workflowProcessor) runNode(ctx context.Context, node *domain.WorkflowNo
|
||||
if current.Type == domain.WorkflowNodeTypeBranch {
|
||||
for _, branch := range current.Branches {
|
||||
if err := w.runNode(ctx, &branch); err != nil {
|
||||
return err
|
||||
continue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user