commit
70946b7f2f
|
|
@ -87,7 +87,7 @@ public final class ConfigurationPropertySources {
|
|||
Assert.isInstanceOf(ConfigurableEnvironment.class, environment);
|
||||
MutablePropertySources sources = ((ConfigurableEnvironment) environment).getPropertySources();
|
||||
PropertySource<?> attached = getAttached(sources);
|
||||
if (attached == null || !isUsingSources(attached, sources)) {
|
||||
if (!isUsingSources(attached, sources)) {
|
||||
attached = new ConfigurationPropertySourcesPropertySource(ATTACHED_PROPERTY_SOURCE_NAME,
|
||||
new SpringConfigurationPropertySources(sources));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue