Skip to content

Commit 8ac6944

Browse files
committed
Deprecate ElasticsearchHealthIndicator
Since the transport client has been deprecated in gh-15008, the health indicator for that should be deprecated as well. See gh-15008
1 parent 60cf80f commit 8ac6944

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/elasticsearch/ElasticsearchHealthIndicator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
* @author Binwei Yang
3636
* @author Andy Wilkinson
3737
* @since 2.0.0
38+
* @deprecated the transport client support is deprecated in favor of other clients
3839
*/
40+
@Deprecated
3941
public class ElasticsearchHealthIndicator extends AbstractHealthIndicator {
4042

4143
private static final String[] ALL_INDICES = { "_all" };

0 commit comments

Comments
 (0)