Skip to content

Commit 92ebb54

Browse files
Fixed allowed setups check (#403)
1 parent 6cb27ba commit 92ebb54

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redisbench-admin"
3-
version = "0.10.3"
3+
version = "0.10.4"
44
description = "Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... )."
55
authors = ["filipecosta90 <[email protected]>","Redis Performance Group <[email protected]>"]
66
readme = "README.md"

redisbench_admin/run_remote/run_remote.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,12 @@ def run_remote_command_logic(args, project_name, project_version):
362362
shard_count,
363363
) = get_setup_type_and_primaries_count(setup_settings)
364364
if args.allowed_setups != "":
365-
allowed_setups = args.allowed_setups.split()
365+
allowed_setups = args.allowed_setups.split(",")
366+
logging.info(
367+
"Checking if setup named {} of topology type {}. Total primaries: {} is in the allowed list of setups {}".format(
368+
setup_name, setup_type, shard_count, allowed_setups
369+
)
370+
)
366371
if setup_name not in allowed_setups:
367372
logging.warning(
368373
"SKIPPING setup named {} of topology type {}.".format(

0 commit comments

Comments
 (0)