Skip to content

Commit 2298cdb

Browse files
committed
Merge branch '4.1.x' into 4.2.x
2 parents 5853b05 + 375bc03 commit 2298cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-context/src/main/java/org/springframework/cloud/autoconfigure/RefreshAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public ConfigDataContextRefresher configDataContextRefresher(ConfigurableApplica
119119
return new ConfigDataContextRefresher(context, scope, properties);
120120
}
121121

122-
@ConditionalOnProperty(value = "spring.cloud.refresh.on-restart.enabled", matchIfMissing = true)
122+
@ConditionalOnProperty(value = REFRESH_SCOPE_PREFIX + ".on-restart.enabled", matchIfMissing = true)
123123
@Bean
124124
RefreshScopeLifecycle refreshScopeLifecycle(ContextRefresher contextRefresher) {
125125
return new RefreshScopeLifecycle(contextRefresher);

0 commit comments

Comments
 (0)