mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-02 20:28:03 +08:00
fix create task definition bug (#6050)
This commit is contained in:
parent
3b495d2fb0
commit
bef57bde5a
@ -148,8 +148,6 @@ public class TaskDefinitionServiceImpl extends BaseServiceImpl implements TaskDe
|
||||
taskDefinitionLog.setUserId(loginUser.getId());
|
||||
taskDefinitionLog.setVersion(1);
|
||||
taskDefinitionLog.setCreateTime(now);
|
||||
totalSuccessCode.add(taskDefinitionLog.getCode());
|
||||
newTaskDefinitionLogs.add(taskDefinitionLog);
|
||||
if (taskDefinitionLog.getCode() == 0) {
|
||||
long code;
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user