mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
use _, _ string
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
5fbfec333a
commit
454f56e37e
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ func NewDockerCli(in io.ReadCloser, out, err io.Writer, key libtrust.PrivateKey,
|
||||||
if proto == "unix" {
|
if proto == "unix" {
|
||||||
// no need in compressing for local communications
|
// no need in compressing for local communications
|
||||||
tr.DisableCompression = true
|
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)
|
return net.DialTimeout(proto, addr, timeout)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue