From f966f3b0ae07c05a46311dce8da2fa7704f16c45 Mon Sep 17 00:00:00 2001 From: wt Date: Mon, 27 Sep 2021 19:16:11 +0800 Subject: [PATCH] [skip ci] Add comment of get_deploy_mode func on benchmark (#8707) Signed-off-by: wangting0128 --- tests/benchmark/milvus_benchmark/utils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/benchmark/milvus_benchmark/utils.py b/tests/benchmark/milvus_benchmark/utils.py index 4633c71b4b..ab2482b1c7 100644 --- a/tests/benchmark/milvus_benchmark/utils.py +++ b/tests/benchmark/milvus_benchmark/utils.py @@ -111,6 +111,10 @@ def print_table(headers, columns, data): def get_deploy_mode(deploy_params): + """ + Get the server deployment mode set in the yaml configuration file + single, cluster, cluster_3rd + """ deploy_mode = None if deploy_params: milvus_params = None