-
Notifications
You must be signed in to change notification settings - Fork 66
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
properly handle biri.Error #163
base: main
Are you sure you want to change the base?
properly handle biri.Error #163
Conversation
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.
Hey! Thanks for the contribution and quick fix for this. Any chance you have capacity to add an integration test to the opensearch
suite for this case?
There are 2 deletion tests but none test this case you've encountered of trying to delete a non-existent document AFAIK. See opensearch/integration_test.go.
@gregfurman, I've added an integration test for this case. Please take a look |
var respCode int | ||
respCode = get.StatusCode |
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.
Linter doesn't like this one.
var respCode int | |
respCode = get.StatusCode | |
respCode := get.StatusCode |
Awesome! Thanks for adding that test. Your golangci-lint step is failing so just run I added a suggestion that you can also accept that should fix it. |
@gregfurman , fixed |
fixes #162