mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-01 11:47:51 +08:00
fix bug: start from the setting nodes with NODE_PRE would be NPE. (#4219)
This commit is contained in:
parent
e033f81e9d
commit
b694474c78
@ -398,6 +398,9 @@ public class DagHelper {
|
||||
DAG<String, TaskNode, TaskNodeRelation> dag,
|
||||
Map<String, TaskInstance> completeTaskList,
|
||||
Map<String, TaskNode> skipTaskNodeList) {
|
||||
if (!dag.containsNode(skipNodeName)) {
|
||||
return;
|
||||
}
|
||||
skipTaskNodeList.putIfAbsent(skipNodeName, dag.getNode(skipNodeName));
|
||||
Collection<String> postNodeList = dag.getSubsequentNodes(skipNodeName);
|
||||
for (String post : postNodeList) {
|
||||
|
Loading…
Reference in New Issue
Block a user