Explorar o código

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

ignore vfs from graphdriver warning
Jessie Frazelle %!s(int64=10) %!d(string=hai) anos
pai
achega
ae493e721e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      daemon/graphdriver/driver.go

+ 1 - 1
daemon/graphdriver/driver.go

@@ -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)
 			}