Skip to content

Commit

Permalink
fix: Fix check_status for create_alias func (#1807)
Browse files Browse the repository at this point in the history
Signed-off-by: bigsheeper <[email protected]>
  • Loading branch information
bigsheeper committed Dec 4, 2023
1 parent 4aa7cc2 commit 161210f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymilvus/client/grpc_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ def create_alias(
request = Prepare.create_alias_request(collection_name, alias)
rf = self._stub.CreateAlias.future(request, timeout=timeout)
response = rf.result()
check_status(response.status)
check_status(response)

@retry_on_rpc_failure()
def drop_alias(self, alias: str, timeout: Optional[float] = None, **kwargs):
Expand Down

0 comments on commit 161210f

Please sign in to comment.