fix, add dynamic config at the first place

This commit is contained in:
ken.lj 2020-09-08 17:35:50 +08:00
parent d95aa7e455
commit 962e6f8cb4
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ public class Environment extends LifecycleAdapter implements FrameworkExt {
globalConfiguration.addConfiguration(propertiesConfiguration);
} else {
if (!globalConfiguration.isDynamicIncluded() && dynamicConfiguration != null) {
globalConfiguration.addConfiguration(dynamicConfiguration);
globalConfiguration.addConfigurationFirst(dynamicConfiguration);
globalConfiguration.setDynamicIncluded(true);
}
}