Skip to content

Commit 75054f0

Browse files
Fixed remote benchmark config issue (#8)
* [fix] Fixed remote benchmark config issue * [ver] Version bump to 0.1.12
1 parent 3bec8bf commit 75054f0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-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.1.11"
3+
version = "0.1.12"
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 <filipecosta.90@gmail.com>"]
66
readme = "README.md"

redisbench_admin/run/run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def run_command_logic(args):
4343
print('Error while retrieving {}! Exiting..'.format(config_filename))
4444
sys.exit(1)
4545

46+
benchmark_config = list(benchmark_config.values())[0]
4647
project = benchmark_config["project"]
4748
test_name = benchmark_config["name"]
4849
description = benchmark_config["description"]

redisbench_admin/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,5 @@ def retrieve_local_or_remote_input_json(config_filename, local_path, option_name
109109

110110
else:
111111
with open(config_filename, "r") as json_file:
112-
benchmark_config = json.load(json_file)
112+
benchmark_config[config_filename] = json.load(json_file)
113113
return benchmark_config

0 commit comments

Comments
 (0)