Browse Source

update worker group

pull/2/head
baoliang 6 years ago
parent
commit
6eedde761c
  1. 2
      escheduler-api/src/main/java/cn/escheduler/api/controller/WorkerGroupController.java

2
escheduler-api/src/main/java/cn/escheduler/api/controller/WorkerGroupController.java

@ -112,7 +112,7 @@ public class WorkerGroupController extends BaseController{
try {
Map<String, Object> result = workerGroupService.queryAllGroup();
return returnDataListPaging(result);
return returnDataList(result);
}catch (Exception e){
logger.error(Status.SAVE_ERROR.getMsg(),e);
return error(Status.SAVE_ERROR.getCode(), Status.SAVE_ERROR.getMsg());

Loading…
Cancel
Save