mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Rename package timeout to timeoutconn.
Signed-off-by: Rik Nijessen <riknijessen@gmail.com>
This commit is contained in:
parent
690a85797e
commit
7e7646c28a
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
package timeout
|
||||
package timeoutconn
|
||||
|
||||
import (
|
||||
"net"
|
|
@ -1,4 +1,4 @@
|
|||
package timeout
|
||||
package timeoutconn
|
||||
|
||||
import (
|
||||
"bufio"
|
|
@ -14,7 +14,7 @@ import (
|
|||
"time"
|
||||
|
||||
log "github.com/Sirupsen/logrus"
|
||||
"github.com/docker/docker/pkg/timeout"
|
||||
"github.com/docker/docker/pkg/timeoutconn"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -71,7 +71,7 @@ func newClient(jar http.CookieJar, roots *x509.CertPool, certs []tls.Certificate
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
conn = timeout.New(conn, 1*time.Minute)
|
||||
conn = timeoutconn.New(conn, 1*time.Minute)
|
||||
return conn, nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue