light modification
This commit is contained in:
		| @@ -106,7 +106,7 @@ func (ws *WorkflowSchedule) Schedules(wfID string, request *tools.APIRequest) (* | |||||||
| 	for _, exec := range executions { | 	for _, exec := range executions { | ||||||
| 		err := exec.PurgeDraft(request) | 		err := exec.PurgeDraft(request) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			return nil, []*WorkflowExecutions{}, errors.New("could not book the workflow" + fmt.Sprintf("%v", err)) | 			return nil, []*WorkflowExecutions{}, errors.New("purge draft" + fmt.Sprintf("%v", err)) | ||||||
| 		} | 		} | ||||||
| 		exec.GenerateID() | 		exec.GenerateID() | ||||||
| 		// Should DELETE the previous execution2 | 		// Should DELETE the previous execution2 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user