Explorar el Código

Merge pull request #810 from dotcloud/proxy-fix

fix regression on proxy
Sam Alba hace 12 años
padre
commit
c566c8efc7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      registry/registry.go

+ 1 - 0
registry/registry.go

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