Update winrm dep. support proxyfromenv

This commit is contained in:
Matthew Hooker 2017-01-26 11:13:08 -08:00
parent 0d8abaa65e
commit 1c570b4b46
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
2 changed files with 4 additions and 3 deletions

View File

@ -41,6 +41,7 @@ type clientRequest struct {
func (c *clientRequest) Transport(endpoint *Endpoint) error {
transport := &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{
InsecureSkipVerify: endpoint.Insecure,
},

6
vendor/vendor.json vendored
View File

@ -575,10 +575,10 @@
"revision": "95ba30457eb1121fa27753627c774c7cd4e90083"
},
{
"checksumSHA1": "24M48du3803/HG1uZTo5aQxmPNk=",
"checksumSHA1": "6uNzRk3ScsTC+olpCXkW4M/L3fg=",
"path": "github.com/masterzen/winrm",
"revision": "a6cd420bebdc21d10c97296556295fcb99dd9635",
"revisionTime": "2017-01-16T07:57:11Z"
"revision": "b7e3d2de4979ce5eae5c1c1ef450040c5d675a89",
"revisionTime": "2017-01-26T07:02:57Z"
},
{
"checksumSHA1": "KTsgWipT3ennAAtaKxEZairxero=",