diff --git a/models/workflow_execution/workflow_scheduler.go b/models/workflow_execution/workflow_scheduler.go index 4bc6115..03bbe01 100644 --- a/models/workflow_execution/workflow_scheduler.go +++ b/models/workflow_execution/workflow_scheduler.go @@ -83,6 +83,7 @@ func (ws *WorkflowSchedule) CheckBooking(wfID string, request *tools.APIRequest) meth = strings.ReplaceAll(meth, ":start_date", b.ExpectedStartDate.Format("2006-01-02T15:04:05")) meth = strings.ReplaceAll(meth, ":end_date", b.ExpectedEndDate.Format("2006-01-02T15:04:05")) request.Caller.URLS[tools.BOOKING][tools.GET] = meth + fmt.Println("Peer exec on " + b.DestPeerID) _, err := (&peer.Peer{}).LaunchPeerExecution(b.DestPeerID, b.ResourceID, tools.BOOKING, tools.GET, nil, request.Caller) if err != nil { return false, wf, execs, bookings, err @@ -113,7 +114,7 @@ func (ws *WorkflowSchedule) Schedules(wfID string, request *tools.APIRequest) (* } ws.Workflow = wf for _, booking := range bookings { - fmt.Println("Trying to book on ") + fmt.Println("Trying to schedule on ") fmt.Println(booking.DestPeerID) _, err := (&peer.Peer{}).LaunchPeerExecution(booking.DestPeerID, "", tools.BOOKING, tools.POST, booking.Serialize(booking), request.Caller)