Browse code

Comply to the new graph.Create() prototype

Guillaume J. Charmes authored on 2013/04/23 10:00:10
Showing 1 changed files
... ...
@@ -408,7 +408,7 @@ func (container *Container) Start() error {
408 408
 
409 409
 	// Create the requested volumes volumes
410 410
 	for volPath := range container.Config.Volumes {
411
-		if c, err := container.runtime.volumes.Create(nil, container, ""); err != nil {
411
+		if c, err := container.runtime.volumes.Create(nil, container, "", ""); err != nil {
412 412
 			return err
413 413
 		} else {
414 414
 			if err := os.MkdirAll(path.Join(container.RootfsPath(), volPath), 0755); err != nil {