mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add new func of utils on benchmarkk (#12595)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/12601/head
parent
147fc41a67
commit
9964d8d044
|
@ -148,6 +148,13 @@ def get_server_tag(deploy_params):
|
|||
return server_tag
|
||||
|
||||
|
||||
def get_server_resource(deploy_params):
|
||||
server_resource = {}
|
||||
if deploy_params and "server_resource" in deploy_params:
|
||||
server_resource = deploy_params["server_resource"]
|
||||
return server_resource
|
||||
|
||||
|
||||
def dict_update(source, target):
|
||||
for key, value in source.items():
|
||||
if isinstance(value, dict) and key in target:
|
||||
|
|
Loading…
Reference in New Issue