fix(error): use status.code instead of error_code for Milvus > 2.3 compatibility#105
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: marlon-costa-dc The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@marlon-costa-dc Thanks for your contribution. Please submit with DCO, see the contributing guide https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md#developer-certificate-of-origin-dco. |
|
@marlon-costa-dc Please associate the related issue to the body of your Pull Request. (eg. “issue: #187”) |
Summary
status.codeinstead ofstatus.error_code.error.rsandutils.rsto mapstatus.codetoErrorCodeproperly.UnexpectedErrorwith the original code and reason if the code is unknown.