Fix counting in Slack report for some jobs (#22913)

fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2023-04-21 11:22:23 +02:00
committed by GitHub
parent aab14120d4
commit 435abb22cb

View File

@@ -655,7 +655,7 @@ class Message:
job_result,
failures,
device,
text=f"Number of failures: {sum(job_result['failed'].values())}",
text=f'Number of failures: {job_result["failed"][device]}',
)
print("Sending the following reply")