Skip to content

Commit

Permalink
fix: template in parallel steps (#5682)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 committed Jul 24, 2024
1 parent 8e635ae commit bffeaee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/testworkflows/testworkflowresolver/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,11 @@ func applyTemplatesToStep(step testworkflowsv1.Step, templates map[string]testwo
step.Parallel.Steps = append([]testworkflowsv1.Step{{
StepControl: step.Parallel.StepControl,
StepOperations: step.Parallel.StepOperations,
Template: step.Parallel.Template,
}}, step.Parallel.Steps...)
step.Parallel.StepControl = testworkflowsv1.StepControl{}
step.Parallel.StepOperations = testworkflowsv1.StepOperations{}
step.Parallel.Template = nil
}

// Resolve the spec inside of parallel step
Expand Down

0 comments on commit bffeaee

Please sign in to comment.