This is an automated email from the ASF dual-hosted git repository.

xcsnx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 602123b4c7 fix admin : modify addProxySelector function of the admin 
application is missing the namespace_id (#6046)
602123b4c7 is described below

commit 602123b4c77582268227c9b7a7a75f6d5ec16ba7
Author: gitYupan <981086...@qq.com>
AuthorDate: Fri Jul 4 13:43:27 2025 +0800

    fix admin : modify addProxySelector function of the admin application is 
missing the namespace_id (#6046)
    
    Co-authored-by: aias00 <liuhon...@apache.org>
---
 .../org/apache/shenyu/admin/service/impl/ProxySelectorServiceImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/ProxySelectorServiceImpl.java
 
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/ProxySelectorServiceImpl.java
index 6272cc1480..6a938b7c6a 100644
--- 
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/ProxySelectorServiceImpl.java
+++ 
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/ProxySelectorServiceImpl.java
@@ -260,7 +260,7 @@ public class ProxySelectorServiceImpl implements 
ProxySelectorService {
                 DiscoveryUpstreamDO discoveryUpstreamDO = 
DiscoveryUpstreamDO.builder()
                         .id(UUIDUtils.getInstance().generateShortUuid())
                         .discoveryHandlerId(discoveryHandlerId)
-                        .namespaceId(discoveryUpstream.getNamespaceId())
+                        .namespaceId(proxySelectorAddDTO.getNamespaceId())
                         .protocol(discoveryUpstream.getProtocol())
                         .url(discoveryUpstream.getUrl())
                         .status(discoveryUpstream.getStatus())

Reply via email to