补充 fix #393

parent 4c8d9896
......@@ -97,6 +97,8 @@ public class FlinkAPI {
Map<String, Object> paramMap = new HashMap<>();
switch (type) {
case CANCEL:
paramMap.put("cancel-job", true);
paramType = FlinkRestAPIConstant.SAVEPOINTS;
jobInfo.setStatus(JobInfo.JobStatus.CANCEL);
break;
case STOP:
......
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