Skip to content

Commit 8ec1321

Browse files
l-trottaJoshMock
andcommitted
Index settings lifecycle name should be optional, not ILM policy name (#2498) (#2500)
See elastic/elasticsearch-java#456 (cherry picked from commit c2b68f5) Co-authored-by: Josh Mock <[email protected]>
1 parent 8af199a commit 8ec1321

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

output/schema/schema.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ilm/put_lifecycle/PutLifecycleRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface Request extends RequestBase {
3636
* Identifier for the policy.
3737
* @codegen_name name
3838
*/
39-
policy?: Name
39+
policy: Name
4040
}
4141
query_parameters: {
4242
/**

specification/indices/_types/IndexSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ export class IndexSettingsLifecycle {
401401
/**
402402
* The name of the policy to use to manage the index. For information about how Elasticsearch applies policy changes, see Policy updates.
403403
*/
404-
name: Name
404+
name?: Name
405405
/**
406406
* Indicates whether or not the index has been rolled over. Automatically set to true when ILM completes the rollover action.
407407
* You can explicitly set it to skip rollover.

0 commit comments

Comments
 (0)