Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always show
composed_of
field for composable index templates (elast…
…ic#105315) * Always show `composed_of` field for composable index templates Prior to e786cfa we inadvertently always added composable index templates with `composed_of: []` beacuse elastic@e786cfa#diff-5081302eb39033199deb1977d544d1cd7867212a92b8d77e0aa0ded361272b11L618-L630 created a new `ComposableIndexTemplate` from an existing one, and the `.composedOf()` field returned an empty list of no component templates were provided: https://github.com/elastic/elasticsearch/blob/89e714ee5dc60db8b4979ab6372ff767e108e9da/server/src/main/java/org/elasticsearch/cluster/metadata/ComposableIndexTemplate.java#L172-L177 This meant that before 8.12.0 we would always show `composed_of: []` for composable index templates. This commit recreates this behavior, and always displays the empty list even if no component templates are used by a composable index template. Resolves elastic#104627
- Loading branch information