mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
Merge pull request #10110 from jfrazelle/fix-vfs-issue
ignore vfs from graphdriver warning
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user