mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 13:46:51 +08:00
Renamed WorkflowStatistics to just Stats.
Changed value types so they come back as integers in JSON.
This commit is contained in:
@@ -67,7 +67,7 @@ func apiWorkflowTemplate(wft *v1.WorkflowTemplate) *api.WorkflowTemplate {
|
||||
Manifest: wft.Manifest,
|
||||
IsLatest: wft.IsLatest,
|
||||
IsArchived: wft.IsArchived,
|
||||
WorkflowExecutionStatisticReport: &api.WorkflowExecutionStatisticReport{
|
||||
Stats: &api.WorkflowExecutionStatisticReport{
|
||||
Total: wft.WorkflowExecutionStatisticReport.Total,
|
||||
LastExecuted: wft.WorkflowExecutionStatisticReport.LastExecuted.String(),
|
||||
Running: wft.WorkflowExecutionStatisticReport.Running,
|
||||
|
Reference in New Issue
Block a user