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