Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index settings lifecycle name should be optional, not ILM policy name #2498

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specification/ilm/put_lifecycle/PutLifecycleRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface Request extends RequestBase {
* Identifier for the policy.
* @codegen_name name
*/
policy?: Name
policy: Name
}
query_parameters: {
/**
Expand Down
2 changes: 1 addition & 1 deletion specification/indices/_types/IndexSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export class IndexSettingsLifecycle {
/**
* The name of the policy to use to manage the index. For information about how Elasticsearch applies policy changes, see Policy updates.
*/
name: Name
name?: Name
/**
* Indicates whether or not the index has been rolled over. Automatically set to true when ILM completes the rollover action.
* You can explicitly set it to skip rollover.
Expand Down
Loading