mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Remove dead code
Signed-off-by: Hu Keping <hukeping@huawei.com>
This commit is contained in:
parent
8562c423b8
commit
c957d9c768
1 changed files with 0 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue