-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat(cli): also delete replica indices #127
Conversation
@clemfromspace got stuck writing the test (or rather the mock) for the new option. Don't know what I'm doing wrong. |
@kai687 On it! |
@kai687 The tests should pass now, there was missing matching stubs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment, feels free to merge after :)
Thank you so much with your help on the tests. |
This PR adds a new boolean option to the
algolia indices delete
command:--includeReplicas
.If it's true, the command will look for any replicas of an index and deletes them with the primary index. No more dangling indices because of replicas.
DEX-784