Skip to content
Permalink
Browse files
Change mesh rule group to dubbo (#349)
  • Loading branch information
haoyann committed Jul 30, 2021
1 parent eb55967 commit cd72718057e9dc9c09cdee3f2d84a0144b946917
Showing 1 changed file with 2 additions and 2 deletions.
@@ -44,7 +44,7 @@ public static void initClient() {

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 static void generateRule() {
}

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);
}

0 comments on commit cd72718

Please sign in to comment.