1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Support more config for Nacos

This commit is contained in:
yuhuangbin
2019-12-11 14:17:08 +08:00
parent 829dc23550
commit 792d008863
7 changed files with 94 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ public class NacosPropertySourceLocator implements PropertySourceLocator {
@Override
public PropertySource<?> locate(Environment env) {
nacosConfigProperties.setEnvironment(env);
ConfigService configService = nacosConfigProperties.configServiceInstance();
if (null == configService) {