diff --git a/tests/benchmark/milvus_benchmark/update.py b/tests/benchmark/milvus_benchmark/update.py index e551b0e830..4dc05cd1d8 100644 --- a/tests/benchmark/milvus_benchmark/update.py +++ b/tests/benchmark/milvus_benchmark/update.py @@ -41,6 +41,19 @@ def get_tags(url, token): return [] +def get_master_tags(tags_list): + _list = [] + + if not isinstance(tags_list, list): + print("tags_list is not a list.") + return _list + + for tag in tags_list: + if "master" in tag and tag != "master-latest": + _list.append(tag) + return _list + + def parse_server_tag(server_tag): """ paser server tag from server config""" # tag format: "8c"/"8c16m"/"8c16m1g"