Commit e0c5ed74 by huangfusuper

修改停止调度的报错信息

parent 4e00659f
...@@ -145,7 +145,7 @@ public class ApiNodeServiceImpl implements ApiNodeService { ...@@ -145,7 +145,7 @@ public class ApiNodeServiceImpl implements ApiNodeService {
String killResult = HttpUtil.post(killUrl, requestMap); String killResult = HttpUtil.post(killUrl, requestMap);
log.debug("请求结果{}", killResult); log.debug("请求结果{}", killResult);
ResponseResult responseResult = JSON.parseObject(killResult, ResponseResult.class); ResponseResult responseResult = JSON.parseObject(killResult, ResponseResult.class);
ValidationUtil.isTrueValidation(!"SUCCESS".equals(responseResult.getResult()), "杀死job失败,错误信息为:" + responseResult.getResult()); ValidationUtil.isTrueValidation(!"SUCCESS".equals(responseResult.getResult()), "杀死job失败,错误信息为:" + responseResult.getMsg());
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment