Skip to content

Commit

Permalink
fix bug: start from the setting nodes with NODE_PRE would be NPE.
Browse files Browse the repository at this point in the history
  • Loading branch information
lenboo committed Dec 13, 2020
1 parent e033f81 commit 81bc3e8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,9 @@ private static void setTaskNodeSkip(String skipNodeName,
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) {
Expand Down

0 comments on commit 81bc3e8

Please sign in to comment.