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: retry_on_conflict is int not bool #690

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pattrickrice
Copy link

Description

retry_on_conflict appears to be typed incorrectly in select locations. The documentation points to the value for this being an integer.
https://opensearch.org/docs/1.0/opensearch/rest-api/document-apis/update-document/

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

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.

@pattrickrice pattrickrice changed the title fix: retry_on_conflict is not bool fix: retry_on_conflict is int not bool Mar 8, 2024
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.14%. Comparing base (d36a882) to head (5e8e5c7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #690   +/-   ##
=======================================
  Coverage   72.14%   72.14%           
=======================================
  Files          89       89           
  Lines        7945     7945           
=======================================
  Hits         5732     5732           
  Misses       2213     2213           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@saimedhi
Copy link
Collaborator

saimedhi commented Mar 8, 2024

Hello @pattrickrice,

Thank you for your contribution! Could you please address the failing tests? The DCO and CI are failing due to lint errors. Setting the default to 0 should resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants