mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 13:17:50 +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.setUserId(loginUser.getId());
|
||||||
taskDefinitionLog.setVersion(1);
|
taskDefinitionLog.setVersion(1);
|
||||||
taskDefinitionLog.setCreateTime(now);
|
taskDefinitionLog.setCreateTime(now);
|
||||||
totalSuccessCode.add(taskDefinitionLog.getCode());
|
|
||||||
newTaskDefinitionLogs.add(taskDefinitionLog);
|
|
||||||
if (taskDefinitionLog.getCode() == 0) {
|
if (taskDefinitionLog.getCode() == 0) {
|
||||||
long code;
|
long code;
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user