瀏覽代碼

use _, _ string

Signed-off-by: Victor Vieux <vieux@docker.com>
Victor Vieux 10 年之前
父節點
當前提交
454f56e37e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/client/cli.go

+ 1 - 1
api/client/cli.go

@@ -145,7 +145,7 @@ func NewDockerCli(in io.ReadCloser, out, err io.Writer, key libtrust.PrivateKey,
 	if proto == "unix" {
 		// no need in compressing for local communications
 		tr.DisableCompression = true
-		tr.Dial = func(dial_network, dial_addr string) (net.Conn, error) {
+		tr.Dial = func(_, _ string) (net.Conn, error) {
 			return net.DialTimeout(proto, addr, timeout)
 		}
 	} else {