mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-06 06:33:18 -04:00
communicator/ssh: fix build
This commit is contained in:
@@ -18,5 +18,7 @@ func ConnectFunc(network, addr string) func() (net.Conn, error) {
|
||||
if tcpConn, ok := c.(*net.TCPConn); ok {
|
||||
tcpConn.SetKeepAlive(true)
|
||||
}
|
||||
|
||||
return c, nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user