Browse Source

queue count update

pull/2/head
qiaozhanwei 6 years ago
parent
commit
2dd2e64fb2
  1. 2
      escheduler-api/src/main/java/cn/escheduler/api/service/DataAnalysisService.java

2
escheduler-api/src/main/java/cn/escheduler/api/service/DataAnalysisService.java

@ -357,7 +357,7 @@ public class DataAnalysisService {
i = 0; i = 0;
for (String taskKillStr : tasksKillList){ for (String taskKillStr : tasksKillList){
if (StringUtils.isNotEmpty(taskKillStr)){ if (StringUtils.isNotEmpty(taskKillStr)){
String[] splits = taskKillStr.split("_"); String[] splits = taskKillStr.split("-");
if (splits.length == 2){ if (splits.length == 2){
tasksKillIds[i++]=Integer.parseInt(splits[1]); tasksKillIds[i++]=Integer.parseInt(splits[1]);
} }

Loading…
Cancel
Save