Remove Debugging of starttime from schedule now
All checks were successful
Java CI with Maven / build (push) Successful in 33s
All checks were successful
Java CI with Maven / build (push) Successful in 33s
This commit is contained in:
parent
59e79a306f
commit
f88e97348e
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user