Signed-off-by: Victor Vieux <vieux@docker.com>
| ... | ... |
@@ -145,7 +145,7 @@ func NewDockerCli(in io.ReadCloser, out, err io.Writer, key libtrust.PrivateKey, |
| 145 | 145 |
if proto == "unix" {
|
| 146 | 146 |
// no need in compressing for local communications |
| 147 | 147 |
tr.DisableCompression = true |
| 148 |
- tr.Dial = func(dial_network, dial_addr string) (net.Conn, error) {
|
|
| 148 |
+ tr.Dial = func(_, _ string) (net.Conn, error) {
|
|
| 149 | 149 |
return net.DialTimeout(proto, addr, timeout) |
| 150 | 150 |
} |
| 151 | 151 |
} else {
|