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

Ignore name of index when fetching settings #823

Merged
merged 1 commit into from
Sep 26, 2024

Commits on Sep 26, 2024

  1. Ignore name of index when fetching settings

    This commit fixes a situation where an index cannot be updated through this client as the index is aliased, with the client pointing to the alias.
    
    As the `GET /<index>/_settings` request will only ever return the settings for the specified index (through the alias), it would only have one key, so the name of the key would not matter. We can pop the key to get the settings object for the index through the alias.
    
    Signed-off-by: Étienne Beaulé <[email protected]>
    tienne-B committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e7532db View commit details
    Browse the repository at this point in the history