Initialize devicemapper in NewRuntimeFromDIrectory

Upstream-commit: 7093411a8dd36612ddc636c14395e33ecff47f7f
Component: engine
This commit is contained in:
Solomon Hykes
2013-10-15 03:53:48 +00:00
parent 7b24c05ec6
commit 5b6d6020fa
5 changed files with 20 additions and 23 deletions
+1 -2
View File
@@ -4,7 +4,6 @@ import (
"flag"
"fmt"
"github.com/dotcloud/docker"
"github.com/dotcloud/docker/devmapper"
"github.com/dotcloud/docker/utils"
"io/ioutil"
"log"
@@ -134,7 +133,7 @@ func daemon(pidfile string, flGraphPath string, protoAddrs []string, autoRestart
if flDns != "" {
dns = []string{flDns}
}
server, err := docker.NewServer(flGraphPath, devmapper.NewDeviceSetDM(flGraphPath), autoRestart, enableCors, dns)
server, err := docker.NewServer(flGraphPath, autoRestart, enableCors, dns)
if err != nil {
return err
}