Skip to content

Commit

Permalink
Tiny fix for check_self_hosted_runner.py (huggingface#24052)
Browse files Browse the repository at this point in the history
fix

Co-authored-by: ydshieh <[email protected]>
  • Loading branch information
ydshieh and ydshieh authored Jun 6, 2023
1 parent a717e03 commit ff4c0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/check_self_hosted_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")


Expand Down

0 comments on commit ff4c0fc

Please sign in to comment.