Skip to content

Commit

Permalink
Merge pull request #2560 from jsonwan/github_perf/ipchooser
Browse files Browse the repository at this point in the history
perf: 去除IP选择器相关接口兼容代码 #2502
  • Loading branch information
jsonwan authored Oct 27, 2023
2 parents b609c86 + 90967bc commit db63919
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public class CcTopologyNodeVO {
private String instanceName;
private String objectId;
private String objectName;
// 当前层级节点数据是否使用懒加载,作业平台目前不涉及,取值一直为false即可
private Boolean lazy = false;
private List<CcTopologyNodeVO> child;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ public static CcTopologyNodeVO convertToCcTopologyTree(InstanceTopologyDTO bizIn
node.setObjectName(bizInstTopo.getObjectName());
node.setInstanceId(bizInstTopo.getInstanceId());
node.setInstanceName(bizInstTopo.getInstanceName());
// 模块不需要展开,其他的默认展开
if (CcNodeTypeEnum.MODULE.getType().equals(bizInstTopo.getObjectId())) {
node.setLazy(true);
}
List<CcTopologyNodeVO> children = new ArrayList<>();
if (bizInstTopo.getChild() != null && !bizInstTopo.getChild().isEmpty()) {
for (InstanceTopologyDTO childBizInstTopo : bizInstTopo.getChild()) {
Expand Down

0 comments on commit db63919

Please sign in to comment.