create workflow by template reference

This commit is contained in:
rushtehrani
2019-12-12 22:08:21 -08:00
parent 0cbfe67c21
commit 2179af0d76
2 changed files with 7 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ func NewWorkflowServer(resourceManager *manager.ResourceManager) *WorkflowServer
func (s *WorkflowServer) CreateWorkflow(ctx context.Context, req *api.CreateWorkflowRequest) (*api.Workflow, error) {
workflow := &model.Workflow{
WorkflowTemplate: model.WorkflowTemplate{
Manifest: req.Workflow.WorkflowTemplate.Manifest,
UID: req.Workflow.WorkflowTemplate.Uid,
},
}
for _, param := range req.Workflow.Parameters {