mirror of https://github.com/milvus-io/milvus.git
[skip ci] Update start_up func on benchmark (#9485)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/9491/head
parent
b9f5a6bb1e
commit
ced97a2397
|
@ -16,6 +16,7 @@ class LocalEnv(BaseEnv):
|
||||||
res = True
|
res = True
|
||||||
try:
|
try:
|
||||||
self.set_hostname(hostname)
|
self.set_hostname(hostname)
|
||||||
|
self.set_port(port)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(str(e))
|
logger.error(str(e))
|
||||||
res = False
|
res = False
|
||||||
|
|
Loading…
Reference in New Issue