fix: issue with cron workflows not working and updated workflow executions to include the version of the workflow template they ran.

This commit is contained in:
Andrey Melnikov
2020-04-10 12:04:12 -07:00
parent 2a77d8fdd8
commit bfb65dd1ad
4 changed files with 83 additions and 12 deletions

View File

@@ -428,7 +428,7 @@ func (s *WorkflowServer) ListWorkflowTemplateVersions(ctx context.Context, req *
return nil, err
}
workflowTemplates := []*api.WorkflowTemplate{}
var workflowTemplates []*api.WorkflowTemplate
for _, wtv := range workflowTemplateVersions {
workflowTemplates = append(workflowTemplates, apiWorkflowTemplate(wtv))
}