Remove Debugging of starttime from schedule now
All checks were successful
Java CI with Maven / build (push) Successful in 33s

This commit is contained in:
Sebastian Böckelmann 2023-11-17 17:58:15 +01:00
parent 59e79a306f
commit f88e97348e

View File

@ -165,9 +165,6 @@ public class ScheduleController {
} }
ServiceResult<AbstractSchedule> scheduleResult = taskScheduleService.scheduleNow(permissionResult.getResult()); ServiceResult<AbstractSchedule> scheduleResult = taskScheduleService.scheduleNow(permissionResult.getResult());
BasicTaskSchedule basicTaskSchedule = (BasicTaskSchedule) scheduleResult.getResult();
System.err.println(basicTaskSchedule.getStartTime());
//System.err.println(scheduleResult.getResult().toScheduleInfo());
if(scheduleResult.getExitCode() == ServiceExitCode.ENTITY_ALREADY_EXIST) { if(scheduleResult.getExitCode() == ServiceExitCode.ENTITY_ALREADY_EXIST) {
return ResponseEntity.status(409).body(new SimpleStatusResponse("failed")); return ResponseEntity.status(409).body(new SimpleStatusResponse("failed"));
} else { } else {