From 5f770638bbccb89552f895fad2fafe09a8993813 Mon Sep 17 00:00:00 2001
From: Mathieu Othacehe <othacehe@gnu.org>
Date: Sat, 30 Jan 2021 16:55:22 +0100
Subject: [PATCH] Fix workers display.

* src/cuirass/templates.scm (workers-status): Handle the case where multiple
builds are started on a worker.
---
 src/cuirass/templates.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index ac29e2af..0e3898a6 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -1056,7 +1056,7 @@ completed builds divided by the time required to build them.")
                                       (string=? build-worker name)))))
                                   builds)
                      (() #f)
-                     ((build) build)))
+                     ((build _ ...) build)))
                         workers)))
       `(div (@ (class "col-sm-4 mt-3"))
             (h6 ,machine)
-- 
GitLab