Remove dead code

Signed-off-by: Hu Keping <hukeping@huawei.com>
Upstream-commit: c957d9c768a3c2e56b31db09399b49b8dc66c3c1
Component: engine
This commit is contained in:
Hu Keping
2015-09-06 19:52:39 +08:00
parent 22b92a13e4
commit 2b2fcd8cea

View File

@ -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.