From b566c094bb1359534eaf0907e756940caa2a6923 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Tue, 9 Aug 2016 19:03:10 -0700 Subject: [PATCH] Updates bindata after vendor update. --- command/agent/bindata_assetfs.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/command/agent/bindata_assetfs.go b/command/agent/bindata_assetfs.go index cc26caab8..cfe14a863 100644 --- a/command/agent/bindata_assetfs.go +++ b/command/agent/bindata_assetfs.go @@ -401,8 +401,11 @@ func _filePath(dir, name string) string { } 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") }