aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-10-20 15:10:49 +0200
committerChristopher Baines <mail@cbaines.net>2020-10-20 23:36:04 +0100
commit952b30654d1eb95b2a56d609cf63000ced0c0281 (patch)
tree8bf59bfdbdfca587f65bcd7e89df8916f3d0ddf3
parent5f11c6009fba7ad635987a839d5769c4d9ca8f29 (diff)
downloadbuild-coordinator-952b30654d1eb95b2a56d609cf63000ced0c0281.tar
build-coordinator-952b30654d1eb95b2a56d609cf63000ced0c0281.tar.gz
client-communication: Do not use a hard-coded uri.
* guix-build-coordinator/client-communication.scm (send-request): Use coordinator-uri instead of the hard-coded localhost uri.
-rw-r--r--guix-build-coordinator/client-communication.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/guix-build-coordinator/client-communication.scm b/guix-build-coordinator/client-communication.scm
index 902b3e9..5105e17 100644
--- a/guix-build-coordinator/client-communication.scm
+++ b/guix-build-coordinator/client-communication.scm
@@ -242,8 +242,7 @@
request-body)
(let-values (((response body)
(http-request (string->uri
- (string-append "http://localhost:8746"
- path))
+ (string-append coordinator-uri path))
#:method method
#:body (and=> request-body scm->json-string)
#:decode-body? #f)))