printing in schedules
This commit is contained in:
parent
bd194e6d47
commit
64d1544951
@ -108,6 +108,7 @@ func (ws *WorkflowSchedule) Schedules(wfID string, request *tools.APIRequest) (*
|
|||||||
ok, wf, executions, bookings, err := ws.CheckBooking(wfID, request)
|
ok, wf, executions, bookings, err := ws.CheckBooking(wfID, request)
|
||||||
ws.WorkflowExecution = executions
|
ws.WorkflowExecution = executions
|
||||||
if !ok || err != nil {
|
if !ok || err != nil {
|
||||||
|
fmt.Println("Error here when scheduling")
|
||||||
return ws, nil, executions, errors.New("could not book the workflow : " + fmt.Sprintf("%v", err))
|
return ws, nil, executions, errors.New("could not book the workflow : " + fmt.Sprintf("%v", err))
|
||||||
}
|
}
|
||||||
ws.Workflow = wf
|
ws.Workflow = wf
|
||||||
|
Loading…
Reference in New Issue
Block a user