Merge branch '4.1.x' into 4.2.x

This commit is contained in:
Ryan Baxter
2025-01-21 15:35:34 -05:00

View File

@@ -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);