diff --git a/tests/benchmark/milvus_benchmark/update.py b/tests/benchmark/milvus_benchmark/update.py index 2b54f657a1..1cabc99048 100644 --- a/tests/benchmark/milvus_benchmark/update.py +++ b/tests/benchmark/milvus_benchmark/update.py @@ -163,7 +163,7 @@ def update_values(src_values_file, deploy_params_file): cluster = False # values_dict["service"]["type"] = "ClusterIP" - if deploy_mode != config.DEFUALT_DEPLOY_MODE: + if deploy_mode == config.CLUSTER_DEPLOY_MODE: cluster = True # values_dict["cluster"]["enabled"] = True elif deploy_mode == config.CLUSTER_3RD_DEPLOY_MODE: