Skip to content

Commit 7d16b50

Browse files
committed
Show all detailed information instead of a specific version number.
1 parent c3e51d3 commit 7d16b50

File tree

1 file changed

+3
-1
lines changed
  • module/spring-boot-data-redis/src/main/java/org/springframework/boot/data/redis/health

1 file changed

+3
-1
lines changed

module/spring-boot-data-redis/src/main/java/org/springframework/boot/data/redis/health/DataRedisHealth.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ private DataRedisHealth() {
3333
}
3434

3535
static Health.Builder up(Health.Builder builder, Properties info) {
36-
builder.withDetail("version", info.getProperty("redis_version"));
36+
info.forEach((key, value) -> {
37+
builder.withDetail(String.valueOf(key), value);
38+
});
3739
return builder.up();
3840
}
3941

0 commit comments

Comments
 (0)