Unverified Commit ad3aae6f authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Fix] Fix udf npe (#3225)

parent 2892a8d0
...@@ -222,6 +222,9 @@ public class CatalogueServiceImpl extends SuperServiceImpl<CatalogueMapper, Cata ...@@ -222,6 +222,9 @@ public class CatalogueServiceImpl extends SuperServiceImpl<CatalogueMapper, Cata
task.setAlertGroupId(-1); // -1 is disabled task.setAlertGroupId(-1); // -1 is disabled
} }
} }
if (!Opt.ofNullable(task.getStep()).isPresent()) {
task.setStep(JobLifeCycle.DEVELOP.getValue());
}
return task; return task;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment