mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #38445 from thaJeztah/dont_use_deprecated_withdialer
Replace deprecated client.WithDialer()
This commit is contained in:
commit
53bb992c3b
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ func newTLSAPIClient(host, cacertPath, certPath, keyPath string) (client.APIClie
|
|||
}
|
||||
return client.NewClientWithOpts(
|
||||
client.WithTLSClientConfig(cacertPath, certPath, keyPath),
|
||||
client.WithDialer(dialer),
|
||||
client.WithDialContext(dialer.DialContext),
|
||||
client.WithHost(host))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue