[skip ci] Add condition of milvus limit deploy on benchmark (#9004)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/9009/head
wt 2021-10-01 09:25:50 +08:00 committed by GitHub
parent 6e0cecb034
commit be61668aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def update_values(src_values_file, deploy_params_file):
cpus = res["cpus"]
mems = res["mems"]
gpus = res["gpus"]
if cpus:
if cpus and mems:
# Set the scope of cpu application according to the configuration
resources = {
"limits": {