use _, _ string

Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: 454f56e37eefd072e350739a6c5a06743ff913ef
Component: engine
This commit is contained in:
Victor Vieux
2014-11-14 19:31:52 +00:00
parent a7280b07fa
commit 7632ac2e44

View File

@ -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 {