Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
ff4c0fc7
Unverified
Commit
ff4c0fc7
authored
Jun 06, 2023
by
Yih-Dar
Committed by
GitHub
Jun 06, 2023
Browse files
Tiny fix for `check_self_hosted_runner.py` (#24052)
fix Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
a717e031
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils/check_self_hosted_runner.py
utils/check_self_hosted_runner.py
+1
-1
No files found.
utils/check_self_hosted_runner.py
View file @
ff4c0fc7
...
@@ -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
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment