From c1ef37ce69c2fb6ef45bcbf308e24257556c76b0 Mon Sep 17 00:00:00 2001 From: wt Date: Thu, 21 Oct 2021 19:34:55 +0800 Subject: [PATCH] [skip ci] Remove unused code on benchmark (#10346) Signed-off-by: wangting0128 --- tests/benchmark/milvus_benchmark/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/benchmark/milvus_benchmark/utils.py b/tests/benchmark/milvus_benchmark/utils.py index a35799c6bf..bac851d909 100644 --- a/tests/benchmark/milvus_benchmark/utils.py +++ b/tests/benchmark/milvus_benchmark/utils.py @@ -141,7 +141,6 @@ def get_server_tag(deploy_params): server_tag = "" if deploy_params and "server" in deploy_params: 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 "" return server_tag @@ -185,7 +184,6 @@ def search_param_analysis(vector_query, filter_query): expression = expression + ' && ' + exp2 else: expression = exp2 - else: logger.error("[search_param_analysis] filter_range not dict or len != 1: %s" % str(filter_range)) return False