Merge pull request #4245 from thaJeztah/remove_deprecated_dualstack
ConfigureHosts: remove deprecated DualStack option
This commit is contained in:
commit
6312b52de5
@ -108,9 +108,9 @@ func ConfigureHosts(ctx context.Context, options HostOptions) docker.RegistryHos
|
||||
defaultTransport := &http.Transport{
|
||||
Proxy: http.ProxyFromEnvironment,
|
||||
DialContext: (&net.Dialer{
|
||||
Timeout: 30 * time.Second,
|
||||
KeepAlive: 30 * time.Second,
|
||||
DualStack: true,
|
||||
Timeout: 30 * time.Second,
|
||||
KeepAlive: 30 * time.Second,
|
||||
FallbackDelay: 300 * time.Millisecond,
|
||||
}).DialContext,
|
||||
MaxIdleConns: 10,
|
||||
IdleConnTimeout: 30 * time.Second,
|
||||
|
Loading…
Reference in New Issue
Block a user