Skip to content

Commit b0ce775

Browse files
committed
Bugfix
1 parent a8b142f commit b0ce775

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

bench_runner/config.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ def get_bench_runner_config(
2626
def get_config_for_current_runner() -> dict[str, Any]:
2727
config = get_bench_runner_config()
2828
runner = runners.get_runner_for_hostname()
29-
return config.get("runners", {}).get(runner.nickname, {})
29+
all_runners = config.get("runners", [])
30+
if len(all_runners) >= 1:
31+
return all_runners[0].get(runner.nickname, {})
32+
return {}

0 commit comments

Comments
 (0)