mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ML] Removing deprecated post data function (#199344)
`POST _ml/anomaly_detectors/<job_id>/_data` is being removed from es, it can be removed from kibana too as it is unused. https://www.elastic.co/guide/en/elasticsearch/reference/8.15/ml-post-data.html
This commit is contained in:
parent
cbebdaee03
commit
9f514f641d
2 changed files with 0 additions and 5 deletions
|
@ -615,10 +615,6 @@ export function getMlClient(
|
|||
p
|
||||
);
|
||||
},
|
||||
async postData(...p: Parameters<MlClient['postData']>) {
|
||||
await jobIdsCheck('anomaly-detector', p);
|
||||
return mlClient.postData(...p);
|
||||
},
|
||||
async previewDatafeed(...p: Parameters<MlClient['previewDatafeed']>) {
|
||||
await datafeedIdsCheck(p);
|
||||
return mlClient.previewDatafeed(...p);
|
||||
|
|
|
@ -101,7 +101,6 @@ export type MlClientParams =
|
|||
| Parameters<MlClient['info']>
|
||||
| Parameters<MlClient['openJob']>
|
||||
| Parameters<MlClient['postCalendarEvents']>
|
||||
| Parameters<MlClient['postData']>
|
||||
| Parameters<MlClient['previewDatafeed']>
|
||||
| Parameters<MlClient['putCalendar']>
|
||||
| Parameters<MlClient['putCalendarJob']>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue