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

[BUG] PUT Alias creates index and not an alias #650

Open
vrecan opened this issue Dec 27, 2024 · 1 comment
Open

[BUG] PUT Alias creates index and not an alias #650

vrecan opened this issue Dec 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@vrecan
Copy link

vrecan commented Dec 27, 2024

What is the bug?

When creating aliases it returns successful but actually creates an index instead.

How can one reproduce the bug?

resp, err := b.openSearch.Indices.Alias.Put(context.Background(), opensearchapi.AliasPutReq{
		Alias:   alias,
	})
	b.logger.Info("Created alias", slog.Any("response", resp))
	return err

What is the expected behavior?

An alias is created

What is your host/environment?

osx

Do you have any screenshots?

Do you have any additional context?

@vrecan vrecan added bug Something isn't working untriaged labels Dec 27, 2024
@dblock dblock removed the untriaged label Dec 29, 2024
@dblock
Copy link
Member

dblock commented Dec 29, 2024

Want to try and write a (failing) test + fix for this @vrecan?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants