Commit 8b99ad7a authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

communicator/ssh: fix build

parent 9d55fa7f
...@@ -18,5 +18,7 @@ func ConnectFunc(network, addr string) func() (net.Conn, error) { ...@@ -18,5 +18,7 @@ func ConnectFunc(network, addr string) func() (net.Conn, error) {
if tcpConn, ok := c.(*net.TCPConn); ok { if tcpConn, ok := c.(*net.TCPConn); ok {
tcpConn.SetKeepAlive(true) tcpConn.SetKeepAlive(true)
} }
return c, nil
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment