xcsnx commented on code in PR #5598:
URL: https://github.com/apache/shenyu/pull/5598#discussion_r1802814276


##########
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/NamespaceServiceImpl.java:
##########
@@ -99,10 +99,17 @@ public NamespaceVO findById(final String namespaceId) {
 
     @Override
     public List<NamespaceVO> list(final String name) {
-        List<NamespaceDO> namespaceDOS = namespaceMapper.selectAll(name);
+        List<NamespaceDO> namespaceDOS = namespaceMapper.selectAllByName(name);
         return 
namespaceDOS.stream().map(NamespaceTransfer.INSTANCE::mapToVo).collect(Collectors.toList());
     }
 
+    @Override
+    public List<NamespaceVO> list() {

Review Comment:
   ok



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to