mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.12`: - [[ILM] Add missing deprecated param to API schema (#175440)](https://github.com/elastic/kibana/pull/175440) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ignacio Rivas","email":"rivasign@gmail.com"},"sourceCommit":{"committedDate":"2024-01-30T06:11:26Z","message":"[ILM] Add missing deprecated param to API schema (#175440)","sha":"6fea1ace880e03cb38d4dad0195b136ce2659b3a","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:ILM","Team:Deployment Management","release_note:skip","v8.12.1","v8.13.0"],"title":"[ILM] Add missing deprecated param to API schema","number":175440,"url":"https://github.com/elastic/kibana/pull/175440","mergeCommit":{"message":"[ILM] Add missing deprecated param to API schema (#175440)","sha":"6fea1ace880e03cb38d4dad0195b136ce2659b3a"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/175440","number":175440,"mergeCommit":{"message":"[ILM] Add missing deprecated param to API schema (#175440)","sha":"6fea1ace880e03cb38d4dad0195b136ce2659b3a"}}]}] BACKPORT--> Co-authored-by: Ignacio Rivas <rivasign@gmail.com>
This commit is contained in:
parent
3b4bffee0f
commit
cf8d3ce713
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ async function createPolicy(
|
|||
*/
|
||||
const bodySchema = schema.object({
|
||||
name: schema.string(),
|
||||
deprecated: schema.maybe(schema.boolean()),
|
||||
phases: schema.object({
|
||||
hot: schema.any(),
|
||||
warm: schema.maybe(schema.any()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue