mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
[skip ci] Add new func of benchmark (#11094)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
99677d3c38
commit
c37f5f1139
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user