mirror of https://github.com/docker/docs.git
Merge pull request #69 from crosbymichael/rename-dummy
Rename dummy driver to vfs
This commit is contained in:
commit
41704d8933
|
@ -1,4 +1,4 @@
|
||||||
package dummy
|
package vfs
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@ -9,7 +9,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
graphdriver.Register("dummy", Init)
|
graphdriver.Register("vfs", Init)
|
||||||
}
|
}
|
||||||
|
|
||||||
func Init(home string) (graphdriver.Driver, error) {
|
func Init(home string) (graphdriver.Driver, error) {
|
||||||
|
@ -24,7 +24,7 @@ type Driver struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *Driver) String() string {
|
func (d *Driver) String() string {
|
||||||
return "dummy"
|
return "vfs"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *Driver) Status() [][2]string {
|
func (d *Driver) Status() [][2]string {
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/dotcloud/docker/graphdriver"
|
"github.com/dotcloud/docker/graphdriver"
|
||||||
"github.com/dotcloud/docker/graphdriver/aufs"
|
"github.com/dotcloud/docker/graphdriver/aufs"
|
||||||
_ "github.com/dotcloud/docker/graphdriver/devmapper"
|
_ "github.com/dotcloud/docker/graphdriver/devmapper"
|
||||||
_ "github.com/dotcloud/docker/graphdriver/dummy"
|
_ "github.com/dotcloud/docker/graphdriver/vfs"
|
||||||
"github.com/dotcloud/docker/utils"
|
"github.com/dotcloud/docker/utils"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"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
|
// We don't want to use a complex driver like aufs or devmapper
|
||||||
// for volumes, just a plain filesystem
|
// for volumes, just a plain filesystem
|
||||||
volumesDriver, err := graphdriver.GetDriver("dummy", config.Root)
|
volumesDriver, err := graphdriver.GetDriver("vfs", config.Root)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue