"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "fb0ae12947a29e1b571d1aa6b3b79cd74e50b643"
Unverified Commit ff4c0fc7 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Tiny fix for `check_self_hosted_runner.py` (#24052)



fix
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent a717e031
...@@ -25,7 +25,7 @@ def get_runner_status(target_runners, token): ...@@ -25,7 +25,7 @@ def get_runner_status(target_runners, token):
fp.write(json.dumps(offline_runners)) fp.write(json.dumps(offline_runners))
if len(offline_runners) > 0: if len(offline_runners) > 0:
failed = "\n".join(offline_runners) failed = "\n".join([x["name"] for x in offline_runners])
raise ValueError(f"The following runners are offline:\n{failed}") raise ValueError(f"The following runners are offline:\n{failed}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment