1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-05 17:00:20 +00:00

Go mod and vendor changes

This commit is contained in:
rajashree
2020-02-26 13:33:08 -08:00
parent 65efa5ba70
commit ca3a3b1814
90 changed files with 10748 additions and 4513 deletions

View File

@@ -32,7 +32,7 @@ func limitDial(network, addr string) (net.Conn, error) {
// Dial with a timeout in case the API host is MIA.
// The connection should normally be very fast.
conn, err := net.DialTimeout(network, addr, 500*time.Millisecond)
conn, err := net.DialTimeout(network, addr, 10*time.Second)
if err != nil {
limitRelease()
return nil, err