Merge branch '4.1.x' into 4.2.x
This commit is contained in:
@@ -119,7 +119,7 @@ public class RefreshAutoConfiguration {
|
|||||||
return new ConfigDataContextRefresher(context, scope, properties);
|
return new ConfigDataContextRefresher(context, scope, properties);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConditionalOnProperty(value = "spring.cloud.refresh.on-restart.enabled", matchIfMissing = true)
|
@ConditionalOnProperty(value = REFRESH_SCOPE_PREFIX + ".on-restart.enabled", matchIfMissing = true)
|
||||||
@Bean
|
@Bean
|
||||||
RefreshScopeLifecycle refreshScopeLifecycle(ContextRefresher contextRefresher) {
|
RefreshScopeLifecycle refreshScopeLifecycle(ContextRefresher contextRefresher) {
|
||||||
return new RefreshScopeLifecycle(contextRefresher);
|
return new RefreshScopeLifecycle(contextRefresher);
|
||||||
|
|||||||
Reference in New Issue
Block a user