mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-04 13:22:41 +08:00
Renaming variable testCWF.
Adding the workflow spec correctly to the CronWorkflow spec.
This commit is contained in:
@@ -63,5 +63,8 @@ func (c *CronWorkflowServer) CreateCronWorkflow(ctx context.Context, req *api.Cr
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if cwf == nil {
|
||||
return nil, nil
|
||||
}
|
||||
return apiCronWorkflow(cwf), nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user