fix the issue of MILVUS_DATABASE has no effect. (#4353)
This commit is contained in:
parent
d1ccb22d8a
commit
98140ae5d9
1 changed files with 1 additions and 1 deletions
|
|
@ -259,5 +259,5 @@ class MilvusVector(BaseVector):
|
||||||
uri = "https://" + str(config.host) + ":" + str(config.port)
|
uri = "https://" + str(config.host) + ":" + str(config.port)
|
||||||
else:
|
else:
|
||||||
uri = "http://" + str(config.host) + ":" + str(config.port)
|
uri = "http://" + str(config.host) + ":" + str(config.port)
|
||||||
client = MilvusClient(uri=uri, user=config.user, password=config.password)
|
client = MilvusClient(uri=uri, user=config.user, password=config.password,db_name=config.database)
|
||||||
return client
|
return client
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue