Merge pull request #4001 from xiaohundun/master

sentinel nacos 支持指定命名空间
dev
JEECG 3 years ago committed by GitHub
commit cb8adfb236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -157,6 +157,9 @@ public class SentinelConfig {
if(StringUtils.isNotBlank(nacosConfigProperties.getPassword())){
properties.put(PropertyKeyConst.PASSWORD,nacosConfigProperties.getPassword());
}
if(StringUtils.isNotBlank(nacosConfigProperties.getNamespace())){
properties.put(PropertyKeyConst.NAMESPACE,nacosConfigProperties.getNamespace());
}
return ConfigFactory.createConfigService(properties);
}
}

Loading…
Cancel
Save