You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by al...@apache.org on 2021/07/30 02:16:23 UTC

[dubbo-samples] branch master updated: Change mesh rule group to dubbo (#349)

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

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new cd72718  Change mesh rule group to dubbo (#349)
cd72718 is described below

commit cd72718057e9dc9c09cdee3f2d84a0144b946917
Author: haoyann <10...@qq.com>
AuthorDate: Fri Jul 30 10:16:12 2021 +0800

    Change mesh rule group to dubbo (#349)
---
 .../src/main/java/org/apache/dubbo/samples/governance/RuleUtil.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dubbo-samples-governance/dubbo-samples-meshrule-router/src/main/java/org/apache/dubbo/samples/governance/RuleUtil.java b/dubbo-samples-governance/dubbo-samples-meshrule-router/src/main/java/org/apache/dubbo/samples/governance/RuleUtil.java
index d29d3c5..f30abe8 100644
--- a/dubbo-samples-governance/dubbo-samples-meshrule-router/src/main/java/org/apache/dubbo/samples/governance/RuleUtil.java
+++ b/dubbo-samples-governance/dubbo-samples-meshrule-router/src/main/java/org/apache/dubbo/samples/governance/RuleUtil.java
@@ -44,7 +44,7 @@ public class RuleUtil {
 
     public static void generateRule() {
         try (InputStream yamlStream = RuleUtil.class.getResourceAsStream("/dubbo-routers-mesh-rule.yml")) {
-            String path = "/dubbo/config/DEFAULT_GROUP/governance-mesh-rule-router-provider.MESHAPPRULE";
+            String path = "/dubbo/config/dubbo/governance-mesh-rule-router-provider.MESHAPPRULE";
             if (client.checkExists().forPath(path) == null) {
                 client.create().creatingParentsIfNeeded().forPath(path);
             }
@@ -55,7 +55,7 @@ public class RuleUtil {
     }
 
     public static void deleteRule() throws Exception {
-        String path = "/dubbo/config/DEFAULT_GROUP/governance-mesh-rule-router-provider.MESHAPPRULE";
+        String path = "/dubbo/config/dubbo/governance-mesh-rule-router-provider.MESHAPPRULE";
         if (client.checkExists().forPath(path) == null) {
             client.create().creatingParentsIfNeeded().forPath(path);
         }

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org