http: Fix navigation URL for build details page.

* src/cuirass/http.scm (url-handler): Use "jobset" instead of "spec".
This commit is contained in:
Ricardo Wurmus 2019-06-19 00:13:54 +02:00
parent 5f631820c8
commit 11f888abb8
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ Hydra format."
(html-page (string-append "Build " build-id)
(build-details build)
`(((#:name . ,(assq-ref build #:specification))
(#:link . ,(string-append "/spec/" (assq-ref build #:specification)))))))
(#:link . ,(string-append "/jobset/" (assq-ref build #:specification)))))))
(respond-build-not-found build-id))))
(("build" build-id "log" "raw")
(let ((build (db-get-build (string->number build-id))))