refactor workflow stats

This commit is contained in:
rushtehrani
2020-04-28 16:59:24 -07:00
parent 015d78f1a3
commit beea0ce69e
8 changed files with 287 additions and 284 deletions

View File

@@ -106,7 +106,7 @@ func (s *WorkflowServer) CronStartWorkflowExecutionStatistic(ctx context.Context
return &empty.Empty{}, err
}
err = client.CronStartWorkflowExecutionStatisticInsert(req.Namespace, req.Name, req.WorkflowTemplateId)
err = client.CronStartWorkflowExecutionStatisticInsert(req.Namespace, req.Name, req.Statistics.WorkflowTemplateId)
if err != nil {
return &empty.Empty{}, err
}