services: Docker: Fix typo in configuration.

This is a follow-up to f0a09310e6.

* gnu/services/docker.scm (docker-shepherd-service): Properly reference
variables in service definition.
This commit is contained in:
Efraim Flashner 2020-09-21 15:02:23 +03:00
parent 475e3768fc
commit e04b90607a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -122,11 +122,11 @@ (define (docker-shepherd-service config)
#$@(if debug?
'("--debug" "--log-level=debug")
'())
#$@(if enable-proxy?
'("--userland-proxy=true"
(string-append
"--userland-proxy-path=" proxy "/bin/proxy"))
'("--userland-proxy=false"))
(if #$enable-proxy?
'("--userland-proxy=true"
(string-append
"--userland-proxy-path=" #$proxy "/bin/proxy"))
'("--userland-proxy=false"))
(if #$enable-iptables?
"--iptables"
"--iptables=false"))