Skip to content

Commit

Permalink
fix: read correctly parallel template (#5678)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored Jul 23, 2024
1 parent 22b4eca commit 31ad168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/testworkflows/testworkflowresolver/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func listStepTemplates(cr testworkflowsv1.Step) map[string]struct{} {
if cr.Parallel != nil {
maps.Copy(v, listSpecTemplates(cr.Parallel.TestWorkflowSpec))
if cr.Parallel.Template != nil {
v[GetInternalTemplateName(cr.Template.Name)] = struct{}{}
v[GetInternalTemplateName(cr.Parallel.Template.Name)] = struct{}{}
}
}
for i := range cr.Setup {
Expand Down

0 comments on commit 31ad168

Please sign in to comment.