guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: services: docker: Fix configuration.


From: guix-commits
Subject: branch master updated: services: docker: Fix configuration.
Date: Wed, 23 Sep 2020 16:41:29 -0400

This is an automated email from the git hooks/post-receive script.

wigust pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new cd4bb17  services: docker: Fix configuration.
cd4bb17 is described below

commit cd4bb173e041fa961b05fb101f214d506182db84
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Wed Sep 23 23:34:21 2020 +0300

    services: docker: Fix configuration.
    
    This is a follow-up to e04b90607ac903359c90c9bad1b67fb7ce2f0eb6.
    
    * gnu/services/docker.scm
    (docker-shepherd-service): Fix "enable-proxy?" configuration.
---
 gnu/services/docker.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm
index 2f13c27..e230142 100644
--- a/gnu/services/docker.scm
+++ b/gnu/services/docker.scm
@@ -122,11 +122,11 @@ loop-back communications.")
                            #$@(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?
+                                  (list "--userland-proxy=true"
+                                        #~(string-append
+                                           "--userland-proxy-path=" #$proxy 
"/bin/proxy"))
+                                  '("--userland-proxy=false"))
                            (if #$enable-iptables?
                                "--iptables"
                                "--iptables=false"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]