Skip to content

Commit 0b46408

Browse files
committed
Polish
1 parent b0f381b commit 0b46408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/redis/RedisReactiveHealthIndicatorConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* @author Mark Paluch
4040
*/
4141
@Configuration
42-
@ConditionalOnClass(Flux.class)
42+
@ConditionalOnClass({ ReactiveRedisConnectionFactory.class, Flux.class })
4343
@ConditionalOnBean(ReactiveRedisConnectionFactory.class)
4444
class RedisReactiveHealthIndicatorConfiguration extends
4545
CompositeReactiveHealthIndicatorConfiguration<RedisReactiveHealthIndicator, ReactiveRedisConnectionFactory> {

0 commit comments

Comments
 (0)