Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Hu Keping <[email protected]>
  • Loading branch information
HuKeping committed Sep 6, 2015
1 parent 8562c42 commit c957d9c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions integration-cli/docker_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c957d9c

Please sign in to comment.