1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #10110 from jfrazelle/fix-vfs-issue

ignore vfs from graphdriver warning
This commit is contained in:
Jessie Frazelle 2015-01-14 19:54:17 -08:00
commit ae493e721e

View file

@ -148,7 +148,7 @@ func New(root string, options []string) (driver Driver, err error) {
func checkPriorDriver(name, root string) {
priorDrivers := []string{}
for prior := range drivers {
if prior != name {
if prior != name && prior != "vfs" {
if _, err := os.Stat(path.Join(root, prior)); err == nil {
priorDrivers = append(priorDrivers, prior)
}