Bump moby to 0ede01237c9ab871f1b8db0364427407f3e46541
Includes: - [client] Remove duplicate NewClient functions - Add API support for templated secrets and configs - Adjust minimum API version for templated configs/secrets Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -300,12 +300,12 @@ func newHTTPClient(host string, tlsOptions *tlsconfig.Options) (*http.Client, er
|
||||
Timeout: 30 * time.Second,
|
||||
}).DialContext,
|
||||
}
|
||||
proto, addr, _, err := client.ParseHost(host)
|
||||
hostURL, err := client.ParseHostURL(host)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
sockets.ConfigureTransport(tr, proto, addr)
|
||||
sockets.ConfigureTransport(tr, hostURL.Scheme, hostURL.Host)
|
||||
|
||||
return &http.Client{
|
||||
Transport: tr,
|
||||
|
||||
Reference in New Issue
Block a user