Fix rendering of the /builds page
This commit is contained in:
parent
266a2d867c
commit
553f00d4cf
1 changed files with 8 additions and 3 deletions
|
|
@ -75,9 +75,14 @@
|
||||||
'()
|
'()
|
||||||
'()
|
'()
|
||||||
'()))
|
'()))
|
||||||
(letpar& ((build-servers
|
(letpar& ((build-server-options
|
||||||
(with-thread-postgresql-connection
|
(with-thread-postgresql-connection
|
||||||
select-build-servers))
|
(lambda (conn)
|
||||||
|
(map (match-lambda
|
||||||
|
((id url lookup-all-derivations
|
||||||
|
lookup-builds)
|
||||||
|
(cons url id)))
|
||||||
|
(select-build-servers conn)))))
|
||||||
(build-stats
|
(build-stats
|
||||||
(with-thread-postgresql-connection
|
(with-thread-postgresql-connection
|
||||||
(lambda (conn)
|
(lambda (conn)
|
||||||
|
|
@ -99,6 +104,6 @@
|
||||||
(render-html
|
(render-html
|
||||||
#:sxml (view-builds parsed-query-parameters
|
#:sxml (view-builds parsed-query-parameters
|
||||||
build-status-strings
|
build-status-strings
|
||||||
build-servers
|
build-server-options
|
||||||
build-stats
|
build-stats
|
||||||
builds-with-context))))))
|
builds-with-context))))))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue