Merge pull request #43280 from thaJeztah/remove_deprecated_dualstack

distribution: remove use of deprecated dial.DualStack
This commit is contained in:
Tianon Gravi 2022-02-25 16:22:49 -08:00 committed by GitHub
commit c549116f32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View file

@ -68,7 +68,6 @@ func NewV2Repository(
direct := &net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
}
// TODO(dmcgowan): Call close idle connections when complete, use keep alive

View file

@ -175,7 +175,6 @@ func NewTransport(tlsConfig *tls.Config) *http.Transport {
direct := &net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
}
base := &http.Transport{