This commit is contained in:
Mitchell Hashimoto 2013-07-14 20:55:27 +09:00
parent 020e719e92
commit 2fff555e7f
4 changed files with 5 additions and 5 deletions

View File

@ -12,6 +12,6 @@ import (
func ConnectFunc(network, addr string) func() (net.Conn, error) { func ConnectFunc(network, addr string) func() (net.Conn, error) {
return func() (net.Conn, error) { return func() (net.Conn, error) {
log.Printf("Opening conn for SSH to %s %s", network, addr) log.Printf("Opening conn for SSH to %s %s", network, addr)
return net.DialTimeout(network, addr, 15 * time.Second) return net.DialTimeout(network, addr, 15*time.Second)
} }
} }