mirror of https://github.com/milvus-io/milvus.git
[skip ci] Remove unused code on benchmark (#10346)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/10384/head
parent
918521456a
commit
c1ef37ce69
|
@ -141,7 +141,6 @@ def get_server_tag(deploy_params):
|
||||||
server_tag = ""
|
server_tag = ""
|
||||||
if deploy_params and "server" in deploy_params:
|
if deploy_params and "server" in deploy_params:
|
||||||
server = deploy_params["server"]
|
server = deploy_params["server"]
|
||||||
# server_name = server["server_name"] if "server_name" in server else ""
|
|
||||||
server_tag = server["server_tag"] if "server_tag" in server else ""
|
server_tag = server["server_tag"] if "server_tag" in server else ""
|
||||||
return server_tag
|
return server_tag
|
||||||
|
|
||||||
|
@ -185,7 +184,6 @@ def search_param_analysis(vector_query, filter_query):
|
||||||
expression = expression + ' && ' + exp2
|
expression = expression + ' && ' + exp2
|
||||||
else:
|
else:
|
||||||
expression = exp2
|
expression = exp2
|
||||||
|
|
||||||
else:
|
else:
|
||||||
logger.error("[search_param_analysis] filter_range not dict or len != 1: %s" % str(filter_range))
|
logger.error("[search_param_analysis] filter_range not dict or len != 1: %s" % str(filter_range))
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue