mirror of
				https://github.com/onepanelio/onepanel.git
				synced 2025-10-31 08:46:20 +08:00 
			
		
		
		
	Adding an exposed method for apiWorkflowExecution
This commit is contained in:
		| @@ -22,6 +22,10 @@ func NewWorkflowServer() *WorkflowServer { | ||||
| 	return &WorkflowServer{} | ||||
| } | ||||
|  | ||||
| func GenApiWorkflowExecution(wf *v1.WorkflowExecution) (workflow *api.WorkflowExecution) { | ||||
| 	return apiWorkflowExecution(wf) | ||||
| } | ||||
|  | ||||
| func apiWorkflowExecution(wf *v1.WorkflowExecution) (workflow *api.WorkflowExecution) { | ||||
| 	workflow = &api.WorkflowExecution{ | ||||
| 		CreatedAt: wf.CreatedAt.Format(time.RFC3339), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aleksandr Melnikov
					Aleksandr Melnikov