"docs/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "f36758da7f916627c0cb4258e5925be668ad2fd8"
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