Skip to content

Commit 2eef86f

Browse files
committed
Upgrade to Elasticsearch 8.18.0
Closes gh-45447
1 parent 133312a commit 2eef86f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ private Health processResponse(Health.Builder builder, HealthResponse response)
6767
builder.withDetail("number_of_pending_tasks", response.numberOfPendingTasks());
6868
builder.withDetail("number_of_in_flight_fetch", response.numberOfInFlightFetch());
6969
builder.withDetail("task_max_waiting_in_queue_millis", response.taskMaxWaitingInQueueMillis());
70-
builder.withDetail("active_shards_percent_as_number",
71-
Double.parseDouble(response.activeShardsPercentAsNumber()));
70+
builder.withDetail("active_shards_percent_as_number", response.activeShardsPercentAsNumber());
7271
builder.withDetail("unassigned_primary_shards", response.unassignedPrimaryShards());
7372
return builder.build();
7473
}

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ bom {
333333
releaseNotes("https://github.com/ehcache/ehcache3/releases/tag/v{version}")
334334
}
335335
}
336-
library("Elasticsearch Client", "8.17.4") {
336+
library("Elasticsearch Client", "8.18.0") {
337337
prohibit {
338338
contains "-alpha"
339339
contains "-beta"

0 commit comments

Comments
 (0)