mirror of https://github.com/jeecgboot/jeecg-boot
commit
cb8adfb236
|
@ -157,6 +157,9 @@ public class SentinelConfig {
|
||||||
if(StringUtils.isNotBlank(nacosConfigProperties.getPassword())){
|
if(StringUtils.isNotBlank(nacosConfigProperties.getPassword())){
|
||||||
properties.put(PropertyKeyConst.PASSWORD,nacosConfigProperties.getPassword());
|
properties.put(PropertyKeyConst.PASSWORD,nacosConfigProperties.getPassword());
|
||||||
}
|
}
|
||||||
|
if(StringUtils.isNotBlank(nacosConfigProperties.getNamespace())){
|
||||||
|
properties.put(PropertyKeyConst.NAMESPACE,nacosConfigProperties.getNamespace());
|
||||||
|
}
|
||||||
return ConfigFactory.createConfigService(properties);
|
return ConfigFactory.createConfigService(properties);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue