mirror of https://github.com/milvus-io/milvus.git
[skip ci] Update codes of main file on benchmark (#10175)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/10190/head
parent
8cca59aaf3
commit
ba92d772b5
|
@ -20,6 +20,7 @@ from logs import log
|
|||
log.setup_logging()
|
||||
logger = logging.getLogger("milvus_benchmark.main")
|
||||
|
||||
|
||||
def positive_int(s):
|
||||
i = None
|
||||
try:
|
||||
|
@ -33,7 +34,7 @@ def positive_int(s):
|
|||
|
||||
def get_image_tag(image_version):
|
||||
""" Set the image version to the latest version """
|
||||
return "%s-latest" % (image_version)
|
||||
return "%s-latest" % str(image_version)
|
||||
|
||||
|
||||
# def shutdown(event):
|
||||
|
|
Loading…
Reference in New Issue