Browse Source

Merge pull request #151 from qiaozhanwei/dev-20190415

queue count update
pull/2/head
乔占卫 6 years ago committed by GitHub
parent
commit
17ad2d65d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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