aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/compare/controller.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-data-service/web/compare/controller.scm')
-rw-r--r--guix-data-service/web/compare/controller.scm20
1 files changed, 10 insertions, 10 deletions
diff --git a/guix-data-service/web/compare/controller.scm b/guix-data-service/web/compare/controller.scm
index 6380651..ebbf6df 100644
--- a/guix-data-service/web/compare/controller.scm
+++ b/guix-data-service/web/compare/controller.scm
@@ -703,8 +703,8 @@
#:after-name after-name
#:limit-results limit-results)))
(build-server-urls
- (with-resource-from-pool (connection-pool) conn
- select-build-server-urls-by-id)))
+ (call-with-resource-from-pool (connection-pool)
+ select-build-server-urls-by-id)))
(let ((names-and-versions
(package-derivation-data->names-and-versions data)))
(let-values
@@ -936,8 +936,8 @@
(with-resource-from-pool (connection-pool) conn
list-systems))
(build-server-urls
- (with-resource-from-pool (connection-pool) conn
- select-build-server-urls-by-id)))
+ (call-with-resource-from-pool (connection-pool)
+ select-build-server-urls-by-id)))
(render-html
#:sxml (compare/system-test-derivations
query-parameters
@@ -959,8 +959,8 @@
(commit->revision-id conn target-commit)
system)))
(build-server-urls
- (with-resource-from-pool (connection-pool) conn
- select-build-server-urls-by-id))
+ (call-with-resource-from-pool (connection-pool)
+ select-build-server-urls-by-id))
(base-git-repositories
(with-resource-from-pool (connection-pool) conn
(git-repositories-containing-commit conn base-commit)))
@@ -1006,8 +1006,8 @@
(with-resource-from-pool (connection-pool) conn
list-systems))
(build-server-urls
- (with-resource-from-pool (connection-pool) conn
- select-build-server-urls-by-id)))
+ (call-with-resource-from-pool (connection-pool)
+ select-build-server-urls-by-id)))
(render-html
#:sxml (compare/system-test-derivations
query-parameters
@@ -1042,8 +1042,8 @@
(first target-revision-details)
system)))
(build-server-urls
- (with-resource-from-pool (connection-pool) conn
- select-build-server-urls-by-id))
+ (call-with-resource-from-pool (connection-pool)
+ select-build-server-urls-by-id))
(base-git-repositories
(with-resource-from-pool (connection-pool) conn
(git-repositories-containing-commit