mirror of
https://github.com/rancher/os.git
synced 2025-09-01 23:04:41 +00:00
Update vendor
This commit is contained in:
5
vendor/github.com/docker/engine-api/client/request.go
generated
vendored
5
vendor/github.com/docker/engine-api/client/request.go
generated
vendored
@@ -85,11 +85,6 @@ func (cli *Client) sendClientRequest(ctx context.Context, method, path string, q
|
||||
}
|
||||
|
||||
req, err := cli.newRequest(method, path, query, body, headers)
|
||||
if cli.proto == "unix" || cli.proto == "npipe" {
|
||||
// For local communications, it doesn't matter what the host is. We just
|
||||
// need a valid and meaningful host name. (See #189)
|
||||
req.Host = "docker"
|
||||
}
|
||||
req.URL.Host = cli.addr
|
||||
req.URL.Scheme = cli.transport.Scheme()
|
||||
|
||||
|
Reference in New Issue
Block a user