code cleanup

This commit is contained in:
rushtehrani
2019-12-10 11:49:27 -08:00
parent 0996aa830d
commit 7fd5a0b1fe
15 changed files with 73 additions and 63 deletions

View File

@@ -34,7 +34,10 @@ func (w *WorkflowServer) Create(ctx context.Context, req *api.CreateWorkflowRequ
if err != nil {
return nil, err
}
req.Workflow.Name = createdWorkflow.Name
req.Workflow = &api.Workflow{
Name: createdWorkflow.Name,
Uid: createdWorkflow.UID,
}
return req.Workflow, nil
}