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

fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar 2023-06-06 18:17:41 +02:00 committed by GitHub
parent a717e0318c
commit ff4c0fc7d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def get_runner_status(target_runners, token):
fp.write(json.dumps(offline_runners))
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}")