vendor: update go-getter for #11438

This commit is contained in:
Mitchell Hashimoto 2017-02-07 14:00:38 -08:00
parent 3cccb8f61d
commit 34227e5a9c
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
2 changed files with 6 additions and 5 deletions

View File

@ -153,7 +153,7 @@ func (c *Client) Get() error {
// We don't appear to... but is it part of the filename?
matchingLen := 0
for k, _ := range decompressors {
if strings.HasSuffix(u.Path, k) && len(k) > matchingLen {
if strings.HasSuffix(u.Path, "."+k) && len(k) > matchingLen {
archiveV = k
matchingLen = len(k)
}

9
vendor/vendor.json vendored
View File

@ -1635,15 +1635,16 @@
"revision": "875fb671b3ddc66f8e2f0acc33829c8cb989a38d"
},
{
"checksumSHA1": "N+MSF+0nq3XFXaUCOooF9acE+ZI=",
"checksumSHA1": "nsL2kI426RMuq1jw15e7igFqdIY=",
"path": "github.com/hashicorp/go-getter",
"revision": "cc80f38c726badeae53775d179755e1c4953d6cf",
"revisionTime": "2017-01-26T00:13:12Z"
"revision": "c3d66e76678dce180a7b452653472f949aedfbcd",
"revisionTime": "2017-02-07T21:55:32Z"
},
{
"checksumSHA1": "9J+kDr29yDrwsdu2ULzewmqGjpA=",
"path": "github.com/hashicorp/go-getter/helper/url",
"revision": "2822987a64e0df1236ac29dd277ddf79f4871f9a"
"revision": "c3d66e76678dce180a7b452653472f949aedfbcd",
"revisionTime": "2017-02-07T21:55:32Z"
},
{
"checksumSHA1": "TNlVzNR1OaajcNi3CbQ3bGbaLGU=",