Merge pull request #8803 from hashicorp/jbardin/go-getter-update

update github.com/hashicorp/go-getter
This commit is contained in:
James Bardin 2016-09-12 14:53:22 -07:00 committed by GitHub
commit 896b89a343
2 changed files with 10 additions and 3 deletions

View File

@ -36,6 +36,13 @@ func (d *FileDetector) Detect(src, pwd string) (string, bool, error) {
if err != nil {
return "", true, err
}
// The symlink itself might be a relative path, so we have to
// resolve this to have a correctly rooted URL.
pwd, err = filepath.Abs(pwd)
if err != nil {
return "", true, err
}
}
}

6
vendor/vendor.json vendored
View File

@ -1132,10 +1132,10 @@
"revision": "875fb671b3ddc66f8e2f0acc33829c8cb989a38d"
},
{
"checksumSHA1": "Qw7bz5IlDicreRjfyiB8QBJi0Fc=",
"checksumSHA1": "aOWXSbYAdK3PBSMNFiK2ze4lPEc=",
"path": "github.com/hashicorp/go-getter",
"revision": "0eb633db32e432fabba9eca8fa21192fab2b96be",
"revisionTime": "2016-08-30T22:50:22Z"
"revision": "2fbd997432e72fe36060c8f07ec1eaf98d098177",
"revisionTime": "2016-09-12T21:42:52Z"
},
{
"path": "github.com/hashicorp/go-getter/helper/url",