Renaming variable testCWF.

Adding the workflow spec correctly to the CronWorkflow spec.
This commit is contained in:
Aleksandr Melnikov
2020-03-27 12:08:26 -07:00
parent 96fd279189
commit d7a289c895
2 changed files with 34 additions and 18 deletions

View File

@@ -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
}