From 454f56e37eefd072e350739a6c5a06743ff913ef Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Fri, 14 Nov 2014 19:31:52 +0000 Subject: [PATCH] use _, _ string Signed-off-by: Victor Vieux --- api/client/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/client/cli.go b/api/client/cli.go index 3455962bd2..a477d0b3a9 100644 --- a/api/client/cli.go +++ b/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 {