[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Make notifications field optional.
From: |
Mathieu Othacehe |
Subject: |
branch master updated: Make notifications field optional. |
Date: |
Mon, 22 Feb 2021 04:08:38 -0500 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix-cuirass.
The following commit(s) were added to refs/heads/master by this push:
new a0e12c3 Make notifications field optional.
a0e12c3 is described below
commit a0e12c382b12819f9576f863307fe6fac4065032
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Mon Feb 22 10:07:57 2021 +0100
Make notifications field optional.
* src/cuirass/database.scm (db-add-specification): Make notifications field
optional.
---
src/cuirass/database.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cuirass/database.scm b/src/cuirass/database.scm
index eef5d8e..2332cbf 100644
--- a/src/cuirass/database.scm
+++ b/src/cuirass/database.scm
@@ -415,7 +415,7 @@ build_outputs, notifications, priority) \
(symbol->string (assq-ref spec #:proc)) ", "
(assq-ref spec #:proc-args) ", "
(assq-ref spec #:build-outputs) ", "
- (assq-ref spec #:notifications) ", "
+ (or (assq-ref spec #:notifications) '()) ", "
(or (assq-ref spec #:priority) max-priority) ")
ON CONFLICT ON CONSTRAINT specifications_pkey DO NOTHING
RETURNING name;"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Make notifications field optional.,
Mathieu Othacehe <=