From 435abb22cb1a462fa8312ab8281d35743c173795 Mon Sep 17 00:00:00 2001 From: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Date: Fri, 21 Apr 2023 11:22:23 +0200 Subject: [PATCH] Fix counting in Slack report for some jobs (#22913) fix Co-authored-by: ydshieh --- utils/notification_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/notification_service.py b/utils/notification_service.py index bbdd4e996d..adb904077c 100644 --- a/utils/notification_service.py +++ b/utils/notification_service.py @@ -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")