mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-30 08:16:23 +08:00
Fixed issue where dates were not being set on workflow executions
This commit is contained in:
@@ -453,9 +453,12 @@ func (c *Client) WatchWorkflowExecution(namespace, name string) (<-chan *Workflo
|
||||
continue
|
||||
}
|
||||
workflowWatcher <- &WorkflowExecution{
|
||||
UID: string(workflow.UID),
|
||||
Name: workflow.Name,
|
||||
Manifest: string(manifest),
|
||||
CreatedAt: workflow.CreationTimestamp.UTC(),
|
||||
StartedAt: workflow.Status.StartedAt.UTC(),
|
||||
FinishedAt: workflow.Status.FinishedAt.UTC(),
|
||||
UID: string(workflow.UID),
|
||||
Name: workflow.Name,
|
||||
Manifest: string(manifest),
|
||||
}
|
||||
|
||||
if !workflow.Status.FinishedAt.IsZero() {
|
||||
|
||||
Reference in New Issue
Block a user