From 23633f72419effd0dd83748b729cd81401bf849b Mon Sep 17 00:00:00 2001 From: James Phillips Date: Tue, 9 Aug 2016 16:36:07 -0700 Subject: [PATCH] Updates elazarl/go-bindata-assetfs. --- .../elazarl/go-bindata-assetfs/go-bindata-assetfs/main.go | 5 ++++- vendor/vendor.json | 8 ++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/vendor/github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs/main.go b/vendor/github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs/main.go index 2d6509428..fdaad5ed8 100644 --- a/vendor/github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs/main.go +++ b/vendor/github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs/main.go @@ -82,8 +82,11 @@ func assetFS() http.FileSystem { } else { fmt.Fprintln(out, ` func assetFS() *assetfs.AssetFS { + assetInfo := func(path string) (os.FileInfo, error) { + return os.Stat(path) + } for k := range _bintree.Children { - return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: AssetInfo, Prefix: k} + return &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, AssetInfo: assetInfo, Prefix: k} } panic("unreachable") }`) diff --git a/vendor/vendor.json b/vendor/vendor.json index e9d296000..c62d13281 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -84,12 +84,16 @@ "revisionTime": "2016-05-26T04:38:13Z" }, { + "checksumSHA1": "5ftkjfUwI9A6xCQ1PwIAd5+qlo0=", "path": "github.com/elazarl/go-bindata-assetfs", - "revision": "57eb5e1fc594ad4b0b1dbea7b286d299e0cb43c2" + "revision": "e1a2a7ec64b07d04ac9ebb072404fe8b7b60de1b", + "revisionTime": "2016-08-03T19:23:04Z" }, { + "checksumSHA1": "CaThXbumVxZtNlItiXma5B78PwQ=", "path": "github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs", - "revision": "57eb5e1fc594ad4b0b1dbea7b286d299e0cb43c2" + "revision": "e1a2a7ec64b07d04ac9ebb072404fe8b7b60de1b", + "revisionTime": "2016-08-03T19:23:04Z" }, { "path": "github.com/fsouza/go-dockerclient",