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

Rename dummy driver to vfs

This commit is contained in:
Michael Crosby 2013-11-22 14:58:19 -08:00
parent e69bbd239e
commit cee0a292d0
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
package dummy
package vfs
import (
"fmt"
@ -9,7 +9,7 @@ import (
)
func init() {
graphdriver.Register("dummy", Init)
graphdriver.Register("vfs", Init)
}
func Init(home string) (graphdriver.Driver, error) {
@ -24,7 +24,7 @@ type Driver struct {
}
func (d *Driver) String() string {
return "dummy"
return "vfs"
}
func (d *Driver) Status() [][2]string {

View file

@ -10,7 +10,7 @@ import (
"github.com/dotcloud/docker/graphdriver"
"github.com/dotcloud/docker/graphdriver/aufs"
_ "github.com/dotcloud/docker/graphdriver/devmapper"
_ "github.com/dotcloud/docker/graphdriver/dummy"
_ "github.com/dotcloud/docker/graphdriver/vfs"
"github.com/dotcloud/docker/utils"
"io"
"io/ioutil"
@ -663,7 +663,7 @@ func NewRuntimeFromDirectory(config *DaemonConfig) (*Runtime, error) {
// We don't want to use a complex driver like aufs or devmapper
// for volumes, just a plain filesystem
volumesDriver, err := graphdriver.GetDriver("dummy", config.Root)
volumesDriver, err := graphdriver.GetDriver("vfs", config.Root)
if err != nil {
return nil, err
}