Browse Source

change forbidden task process.

pull/2/head
lenboo 6 years ago
parent
commit
0865aeca39
  1. 4
      escheduler-dao/src/main/java/cn/escheduler/dao/utils/DagHelper.java

4
escheduler-dao/src/main/java/cn/escheduler/dao/utils/DagHelper.java

@ -251,7 +251,9 @@ public class DagHelper {
} }
List<String> tmpStartVertexs = new ArrayList<>(); List<String> tmpStartVertexs = new ArrayList<>();
tmpStartVertexs.addAll(startVertexs); if(startVertexs!= null){
tmpStartVertexs.addAll(startVertexs);
}
for(String start : startVertexs){ for(String start : startVertexs){
TaskNode startNode = dag.getNode(start); TaskNode startNode = dag.getNode(start);

Loading…
Cancel
Save