mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-11-02 20:04:01 +08:00
code cleanup
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user