From 2b2fcd8ceac9ebcf5df883ff6f618ba94fc70da4 Mon Sep 17 00:00:00 2001 From: Hu Keping Date: Sun, 6 Sep 2015 19:52:39 +0800 Subject: [PATCH] Remove dead code Signed-off-by: Hu Keping Upstream-commit: c957d9c768a3c2e56b31db09399b49b8dc66c3c1 Component: engine --- components/engine/integration-cli/docker_utils.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/engine/integration-cli/docker_utils.go b/components/engine/integration-cli/docker_utils.go index 8ba8d12bdb..1c50849020 100644 --- a/components/engine/integration-cli/docker_utils.go +++ b/components/engine/integration-cli/docker_utils.go @@ -49,15 +49,6 @@ type Daemon struct { userlandProxy bool } -func enableUserlandProxy() bool { - if env := os.Getenv("DOCKER_USERLANDPROXY"); env != "" { - if val, err := strconv.ParseBool(env); err != nil { - return val - } - } - return true -} - // NewDaemon returns a Daemon instance to be used for testing. // This will create a directory such as d123456789 in the folder specified by $DEST. // The daemon will not automatically start.