diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java index 6d8e491d18..efaf04626c 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cassandra/CassandraHealthIndicator.java @@ -46,6 +46,7 @@ public class CassandraHealthIndicator extends AbstractHealthIndicator { * @param cassandraOperations the Cassandra operations */ public CassandraHealthIndicator(CassandraOperations cassandraOperations) { + super("Cassandra health check failed"); Assert.notNull(cassandraOperations, "CassandraOperations must not be null"); this.cassandraOperations = cassandraOperations; } diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/couchbase/CouchbaseHealthIndicator.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/couchbase/CouchbaseHealthIndicator.java index b1a8ee9713..9af7487bc5 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/couchbase/CouchbaseHealthIndicator.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/couchbase/CouchbaseHealthIndicator.java @@ -42,6 +42,7 @@ public class CouchbaseHealthIndicator extends AbstractHealthIndicator { } public CouchbaseHealthIndicator(CouchbaseOperations couchbaseOperations) { + super("Couchbase health check failed"); Assert.notNull(couchbaseOperations, "CouchbaseOperations must not be null"); this.operations = couchbaseOperations; }