diff --git a/lts-admin/src/main/java/com/github/ltsopensource/admin/web/api/NodeApi.java b/lts-admin/src/main/java/com/github/ltsopensource/admin/web/api/NodeApi.java index 255c4b4ad..f3f96086d 100644 --- a/lts-admin/src/main/java/com/github/ltsopensource/admin/web/api/NodeApi.java +++ b/lts-admin/src/main/java/com/github/ltsopensource/admin/web/api/NodeApi.java @@ -54,11 +54,8 @@ public RestfulResponse reSubscribe() { } @RequestMapping("node-group-get") - public RestfulResponse getNodeGroup(NodeGroupRequest request) { + public RestfulResponse getNodeGroup(NodeGroupGetReq nodeGroupGetReq) { RestfulResponse response = new RestfulResponse(); - NodeGroupGetReq nodeGroupGetReq = new NodeGroupGetReq(); - nodeGroupGetReq.setNodeGroup(request.getNodeGroup()); - nodeGroupGetReq.setNodeType(request.getNodeType()); PaginationRsp paginationRsp = appContext.getNodeGroupStore().getNodeGroup(nodeGroupGetReq); response.setResults(paginationRsp.getResults());