diff --git a/pyproject.toml b/pyproject.toml index 664bf33..56f1f40 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "redisbench-admin" -version = "0.1.63" +version = "0.1.64" description = "Redis benchmark run helper. A wrapper around Redis and Redis Modules benchmark tools ( ftsb_redisearch, memtier_benchmark, redis-benchmark, aibench, etc... )." authors = ["filipecosta90 "] readme = "README.md" diff --git a/redisbench_admin/run/common.py b/redisbench_admin/run/common.py index c1cbab4..052e7dd 100644 --- a/redisbench_admin/run/common.py +++ b/redisbench_admin/run/common.py @@ -87,9 +87,10 @@ def prepare_benchmark_parameters( command_arr, command_str = prepare_redis_benchmark_command( benchmark_tool, server_private_ip, server_plaintext_port, entry ) - redirect_file = ">{}".format(remote_results_file) - command_arr.append(redirect_file) - command_str = command_str + " " + redirect_file + if isremote is True: + redirect_file = "> {}".format(remote_results_file) + command_arr.append(redirect_file) + command_str = command_str + " " + redirect_file if "redisgraph-benchmark-go" in benchmark_tool: if isremote is True: