提交 da37ae34 编写于 作者: 薛            之            谦's avatar 薛 之 谦

[improvement] Add two parameters in workergroup, and support the application...

[improvement] Add two parameters in workergroup, and support the application of description display and other parameters
上级 b2f9ac02
......@@ -311,7 +311,6 @@ public class WorkerGroupServiceImpl extends BaseServiceImpl implements WorkerGro
continue;
}
WorkerGroup workerGroup = new WorkerGroup();
handleAddrList(new WorkerGroupHandleDto(workerGroup, workerGroupName, workerGroupsMap, childrenNodes, workerGroups));
workerGroup.setName(workerGroupName);
if (isPaging) {
String registeredValue = registryClient.get(workerGroupPath + Constants.SINGLE_SLASH + childrenNodes.iterator().next());
......@@ -320,6 +319,7 @@ public class WorkerGroupServiceImpl extends BaseServiceImpl implements WorkerGro
workerGroup.setUpdateTime(new Date(Long.parseLong(rv[7])));
workerGroup.setSystemDefault(true);
}
handleAddrList(new WorkerGroupHandleDto(workerGroup, workerGroupName, workerGroupsMap, childrenNodes, workerGroups));
workerGroups.add(workerGroup);
}
return workerGroups;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册