Skip to content

Commit

Permalink
Fix api key
Browse files Browse the repository at this point in the history
Signed-off-by: bigsheeper <[email protected]>
  • Loading branch information
bigsheeper committed Oct 25, 2023
1 parent c06496e commit 10c8444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymilvus/orm/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def with_config(config: Tuple) -> bool:
uri = kwargs.get("uri")
if uri is not None:
server_type = get_server_type(uri)
if server_type == ZILLIZ and ":" not in token:
if server_type == ZILLIZ and ":" not in uri:
kwargs["uri"] = uri + ":" + str(VIRTUAL_PORT)

config = (
Expand Down

0 comments on commit 10c8444

Please sign in to comment.