fix proxy

This commit is contained in:
Victor Vieux 2013-06-04 15:44:27 +00:00
parent 30421a801d
commit 93c7079f89

View file

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