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] Missing Support for --data Flag in opensearch-cli curl delete for Autofollow Deletion #92

Open
aminclip opened this issue Dec 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@aminclip
Copy link

aminclip commented Dec 7, 2023

What is the bug?
To DELETE an autofollow we need to send the request with a --data, but --data is not an option on opensearch-cli curl delete.

How can one reproduce the bug?
Steps to reproduce the behavior:
Try to run this valid request using opensearch-cli

# delete autofollow
opensearch-cli curl delete --path "/_plugins/_replication/_autofollow" --data '
{
   "leader_alias" : "supreme_leader",
   "name": "leader_replication"
}'

What is the expected behavior?
Delete the mentioned autofllow replication.

What is your host/environment?

  • OS: MacOS
  • Version 14.0.2
  • Plugin version opensearch-cli version 1.2.0 darwin/arm64
  • OpenSearch 1.3

Do you have any screenshots?

Error: unknown flag: --data
@aminclip aminclip added bug Something isn't working untriaged labels Dec 7, 2023
@wbeckler wbeckler removed the untriaged label May 3, 2024
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