You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ra...@apache.org on 2021/03/29 07:11:51 UTC

[dubbo-admin] branch develop updated: fix nacos dataId can't match dubbo (#717)

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

ranke pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git


The following commit(s) were added to refs/heads/develop by this push:
     new 6ec3d8e  fix nacos dataId can't match dubbo (#717)
6ec3d8e is described below

commit 6ec3d8e012e44ba2f9e61f921386b18cd22375a4
Author: haoyann <10...@qq.com>
AuthorDate: Mon Mar 29 15:11:02 2021 +0800

    fix nacos dataId can't match dubbo (#717)
---
 .../org/apache/dubbo/admin/registry/config/impl/NacosConfiguration.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/NacosConfiguration.java b/dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/NacosConfiguration.java
index 72fae60..f5d0c7b 100644
--- a/dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/NacosConfiguration.java
+++ b/dubbo-admin-server/src/main/java/org/apache/dubbo/admin/registry/config/impl/NacosConfiguration.java
@@ -192,7 +192,7 @@ public class NacosConfiguration implements GovernanceConfiguration {
             groupAndDataId[1] = split[2];
         } else {
             groupAndDataId[0] = group;
-            groupAndDataId[1] = split[1] + Constants.PUNCTUATION_POINT + split[2];
+            groupAndDataId[1] = split[2];
         }
         return groupAndDataId;
     }