Merge pull request #2261 from hashicorp/b-update-assetfs

Updates bindata after vendor update.
This commit is contained in:
James Phillips 2016-08-09 19:04:04 -07:00 committed by GitHub
commit e03d9723b2
1 changed files with 4 additions and 1 deletions

View File

@ -401,8 +401,11 @@ func _filePath(dir, name string) string {
} }
func assetFS() *assetfs.AssetFS { func assetFS() *assetfs.AssetFS {
assetInfo := func(path string) (os.FileInfo, error) {
return os.Stat(path)
}
for k := range _bintree.Children { 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") panic("unreachable")
} }