fix: issue where workflow statistics report may have null for last executed.

This commit is contained in:
Andrey Melnikov
2020-09-18 12:47:24 -07:00
parent 0a676dff6f
commit 7b404ff0b6
4 changed files with 21 additions and 21 deletions

View File

@@ -465,13 +465,6 @@ func (s *WorkflowServer) GetWorkflowExecutionStatisticsForNamespace(ctx context.
}
return &api.GetWorkflowExecutionStatisticsForNamespaceResponse{
Stats: &api.WorkflowExecutionStatisticReport{
Total: report.Total,
LastExecuted: report.LastExecuted.Format(time.RFC3339),
Running: report.Running,
Completed: report.Completed,
Failed: report.Failed,
Terminated: report.Terminated,
},
Stats: converter.WorkflowExecutionStatisticsReportToAPI(report),
}, nil
}