Browse Source

do not remove the first node(#339) (#355)

Do not remove the first node
master
leitao Carpenter Lee 5 years ago
parent
commit
feb44e74d4
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/view/vo/ResourceVo.java

+ 0
- 5
sentinel-dashboard/src/main/java/com/taobao/csp/sentinel/dashboard/view/vo/ResourceVo.java View File

@@ -52,12 +52,7 @@ public class ResourceVo {
return null;
}
List<ResourceVo> list = new ArrayList<>();
boolean isFirst = true;
for (NodeVo nodeVo : nodeVos) {
if (isFirst) {
isFirst = false;
continue;
}
ResourceVo vo = new ResourceVo();
vo.parentTtId = nodeVo.getParentId();
vo.ttId = nodeVo.getId();


Loading…
Cancel
Save