Skip to content

Commit

Permalink
Rename package timeout to timeoutconn.
Browse files Browse the repository at this point in the history
Signed-off-by: Rik Nijessen <[email protected]>
  • Loading branch information
Rik Nijessen committed Feb 25, 2015
1 parent 690a857 commit 7e7646c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/timeout/timeout.go → pkg/timeoutconn/timeoutconn.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package timeout
package timeoutconn

import (
"net"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package timeout
package timeoutconn

import (
"bufio"
Expand Down
4 changes: 2 additions & 2 deletions registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"time"

log "github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/timeout"
"github.com/docker/docker/pkg/timeoutconn"
)

var (
Expand Down Expand Up @@ -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
}
}
Expand Down

0 comments on commit 7e7646c

Please sign in to comment.