aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-05-15 16:12:44 +0100
committerChristopher Baines <mail@cbaines.net>2024-05-15 16:12:44 +0100
commit300d706f2cc8425b237770b9fd0e4d7ccceb5328 (patch)
tree974655a82026bf97604a47f4110885cd9b8245cb
parentf588d52a143502bd381681fbeee417111b51e1d8 (diff)
downloadbuild-coordinator-300d706f2cc8425b237770b9fd0e4d7ccceb5328.tar
build-coordinator-300d706f2cc8425b237770b9fd0e4d7ccceb5328.tar.gz
Handled fetching details of canceled builds
-rw-r--r--guix-build-coordinator/client-communication.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-build-coordinator/client-communication.scm b/guix-build-coordinator/client-communication.scm
index b3d8e55..46535e4 100644
--- a/guix-build-coordinator/client-communication.scm
+++ b/guix-build-coordinator/client-communication.scm
@@ -151,7 +151,8 @@
(alist-delete
'end-time
build-details))
- ,@(if (assq-ref build-details 'processed)
+ ,@(if (or (assq-ref build-details 'processed)
+ (assq-ref build-details 'canceled))
'()
(datastore-find-unprocessed-build-entry datastore uuid))
(created-at . ,(or (and=>