diff --git a/dinky-admin/src/main/java/org/dinky/service/impl/TaskServiceImpl.java b/dinky-admin/src/main/java/org/dinky/service/impl/TaskServiceImpl.java index f27f68a349..43d4d5d36a 100644 --- a/dinky-admin/src/main/java/org/dinky/service/impl/TaskServiceImpl.java +++ b/dinky-admin/src/main/java/org/dinky/service/impl/TaskServiceImpl.java @@ -324,7 +324,7 @@ public JobResult submitTask(TaskSubmitDto submitDto) throws Exception { // The statement set is enabled by default when submitting assignments taskDTO.setStatementSet(true); JobResult jobResult = taskServiceBean.executeJob(taskDTO); - if ((jobResult.getStatus()==Job.JobStatus.FAILED)){ + if ((jobResult.getStatus() == Job.JobStatus.FAILED)) { throw new BusException(jobResult.getError()); } log.info("Job Submit success");