Skip to content

Commit 82c7649

Browse files
committed
fix test failures
1 parent d96d3b1 commit 82c7649

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

docs/changelog/121667.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ issues:
66
- 121506
77
deprecation:
88
title: Add deprecation warning for flush API
9-
area: Machine Learning
10-
details: "The anomaly detection job flush API is deprecated since it is only required\
11-
\ for the post data API, which was deprecated since 7.11.0."
12-
impact: "This should have a minimal impact on users as the flush API is only required\
13-
\ for the post data API, which was deprecated since 7.11.0."
9+
area: REST API
10+
details: The anomaly detection job flush API is deprecated since it is only required for the post data API, which was deprecated since 7.11.0.
11+
impact: This should have a minimal impact on users as the flush API is only required for the post data API, which was deprecated since 7.11.0.

docs/reference/ml/anomaly-detection/apis/flush-job.asciidoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<titleabbrev>Flush jobs</titleabbrev>
66
++++
77

8-
deprecated::[9.1.0, "Forcing any buffered data to be processed is deprecated, in a future major version a <<ml-api-datafeed-endpoint,{dfeed}>> will be required."]
9-
108
.New API reference
119
[sidebar]
1210
--

x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/job/RestPostDataAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class RestPostDataAction extends BaseRestHandler {
2929
@Override
3030
public List<Route> routes() {
3131
final String msg = "Posting data directly to anomaly detection jobs is deprecated, "
32-
+ "since version 7.11.0, in a future major version it will be compulsory to use a datafeed";
32+
+ "in a future major version it will be compulsory to use a datafeed";
3333
return List.of(Route.builder(POST, BASE_PATH + "anomaly_detectors/{" + Job.ID + "}/_data").deprecateAndKeep(msg).build());
3434
}
3535

0 commit comments

Comments
 (0)