Closed nustiueudinastea closed 3 months ago
Welcome @nustiueudinastea! It looks like this is your first PR to milvus-io/milvus-sdk-go 🎉
/assign @congqixia
@Mergifyio rebase
rebase
/kind bug
/lgtm /approve
@SimFG please fix after this patch merged
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: congqixia, nustiueudinastea
The full list of commands accepted by this bot can be found here.
The pull request process is described here
The latest version of the SDK doesn't pass the actual privilege that is granted during a Grant() call. This causes the Grant call to fail in any situation.
This PR fixes this issue by extending the method signature to take a
privilege
parameter, similarly to how the Python SDK does. This was an easy fix because the protobuf structs already had the field in place, so the SDK only needs to use that correct field in the API call.