From 606b71048d44b60be433ca9980d4f8c88836aaac Mon Sep 17 00:00:00 2001 From: James Bardin Date: Fri, 22 Sep 2017 18:00:32 -0400 Subject: [PATCH] update go-getter --- vendor/github.com/hashicorp/go-getter/source.go | 5 +++++ vendor/vendor.json | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/vendor/github.com/hashicorp/go-getter/source.go b/vendor/github.com/hashicorp/go-getter/source.go index 47307ead5adc..c63f2bbaf9e6 100644 --- a/vendor/github.com/hashicorp/go-getter/source.go +++ b/vendor/github.com/hashicorp/go-getter/source.go @@ -49,6 +49,11 @@ func SubdirGlob(dst, subDir string) (string, error) { if err != nil { return "", err } + + if len(matches) == 0 { + return "", fmt.Errorf("subdir %q not found", subDir) + } + if len(matches) > 1 { return "", fmt.Errorf("subdir %q matches multiple paths", subDir) } diff --git a/vendor/vendor.json b/vendor/vendor.json index 19af83af9efc..d3c7f244c82e 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -1366,10 +1366,10 @@ "revisionTime": "2017-02-11T01:34:15Z" }, { - "checksumSHA1": "7SY5eTKPGF0BjyByXfKhZAAqnKc=", + "checksumSHA1": "9VcI9QGCShWIUIL187qRd4sxwb8=", "path": "github.com/hashicorp/go-getter", - "revision": "56c651a79a6eec93e6ef074fe9e57fefb26b8b85", - "revisionTime": "2017-09-14T15:44:44Z", + "revision": "a686900cb3753aa644dc4812be91ceaf9fdd3b98", + "revisionTime": "2017-09-22T19:29:48Z", "version": "master", "versionExact": "master" },