Skip to content

Commit

Permalink
ServerNamespaceOpenApiService#getNamespaces exclude deleted items
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebZYC committed Oct 6, 2022
1 parent 7dcbb5e commit d516ca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public OpenNamespaceDTO getNamespace(String appId, String env, String clusterNam
public List<OpenNamespaceDTO> getNamespaces(String appId, String env, String clusterName) {
return OpenApiBeanUtils
.batchTransformFromNamespaceBOs(namespaceService.findNamespaceBOs(appId, Env
.valueOf(env), clusterName));
.valueOf(env), clusterName, false));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public void testLoadNamespaceBO() {
itemDTOList.add(itemDTO1);

ItemDTO itemDTO2 = new ItemDTO();
itemDTO2.setId(1);
itemDTO2.setId(2);
itemDTO2.setNamespaceId(2);
itemDTO2.setKey("k2");
itemDTO2.setValue(String.valueOf(2));
Expand Down

0 comments on commit d516ca9

Please sign in to comment.