From b756b234011e36fdf2e6f064c0cefdd3ef346417 Mon Sep 17 00:00:00 2001 From: wt Date: Fri, 29 Oct 2021 13:16:51 +0800 Subject: [PATCH] [skip ci] Update codes of benchmark (#10897) Signed-off-by: wangting0128 --- tests/benchmark/milvus_benchmark/metrics/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/benchmark/milvus_benchmark/metrics/api.py b/tests/benchmark/milvus_benchmark/metrics/api.py index c439adc408..7ef7e115a8 100644 --- a/tests/benchmark/milvus_benchmark/metrics/api.py +++ b/tests/benchmark/milvus_benchmark/metrics/api.py @@ -28,7 +28,6 @@ def save(obj): logger.error("obj is not instance of Metric") return False - logger.debug(vars(obj)) if not isinstance(obj.server, Server): logger.error("obj.server is not instance of Server") return False @@ -54,5 +53,6 @@ def save(obj): obj.env = {"id": env_doc_id, "value": vars(obj.env)} # insert data to mongoDB + logger.debug(vars(obj)) collection = _client[DB][DOC_COLLECTION] collection.insert_one(vars(obj))