Improve some derivation model functions
Return integer values for ids, rather than strings (as this type is more appropriate). Also, better parse the derivation arguments and environment variables.
This commit is contained in:
parent
4710d4e398
commit
7b3bc5bcfa
2 changed files with 16 additions and 6 deletions
|
|
@ -60,7 +60,7 @@
|
|||
"WHERE builds.derivation_id = $1 "
|
||||
"ORDER BY latest_build_status.status_fetched_at DESC "))
|
||||
|
||||
(exec-query conn query (list derivation-id)))
|
||||
(exec-query conn query (list (number->string derivation-id))))
|
||||
|
||||
(define (select-build-by-build-server-and-id
|
||||
conn build-server-id id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue