fix proxy

This commit is contained in:
Victor Vieux 2013-06-04 15:44:27 +00:00
parent 10ef4f7f39
commit 06b585ce8a
1 changed files with 1 additions and 0 deletions

View File

@ -479,6 +479,7 @@ func NewRegistry(root string) *Registry {
httpTransport := &http.Transport{
DisableKeepAlives: true,
Proxy: http.ProxyFromEnvironment,
}
r := &Registry{