浏览代码

Remove dead code

Signed-off-by: Hu Keping <hukeping@huawei.com>
Hu Keping 9 年之前
父节点
当前提交
c957d9c768
共有 1 个文件被更改,包括 0 次插入9 次删除
  1. 0 9
      integration-cli/docker_utils.go

+ 0 - 9
integration-cli/docker_utils.go

@@ -49,15 +49,6 @@ type Daemon struct {
 	userlandProxy  bool
 	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.
 // NewDaemon returns a Daemon instance to be used for testing.
 // This will create a directory such as d123456789 in the folder specified by $DEST.
 // This will create a directory such as d123456789 in the folder specified by $DEST.
 // The daemon will not automatically start.
 // The daemon will not automatically start.