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

Fix error thrown when index configuration has no number_of_replicas specified #123

Merged

Conversation

rblcoder
Copy link
Collaborator

@rblcoder rblcoder commented Nov 7, 2023

Description

Fix error thrown when index configuration has no number_of_replicas specified

Issues Resolved

#83 #108

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@rblcoder
Copy link
Collaborator Author

rblcoder commented Nov 8, 2023

@prudhvigodithi I have tested this PR with default values.

@prudhvigodithi
Copy link
Member

Thanks @rblcoder so I assume it dint complain with the default values when executing tf apply?

@prudhvigodithi
Copy link
Member

Also @rblcoder please try to add some unit tests to this change. Thanks

@rblcoder
Copy link
Collaborator Author

rblcoder commented Nov 9, 2023

@prudhvigodithi Yes, it didn't complain with default values on re-apply. Added tests.

@prudhvigodithi
Copy link
Member

Great, thanks @rblcoder, the PR LGTM.

@prudhvigodithi prudhvigodithi merged commit 7128bed into opensearch-project:main Nov 9, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants