[skip ci] Update codes of main file on benchmark (#10175)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/10190/head
wt 2021-10-19 17:00:55 +08:00 committed by GitHub
parent 8cca59aaf3
commit ba92d772b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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):