Преглед на файлове

Fix the graph.Create prototype

Guillaume J. Charmes преди 12 години
родител
ревизия
897cc573f0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      container.go

+ 1 - 1
container.go

@@ -408,7 +408,7 @@ func (container *Container) Start() error {
 
 	// Create the requested volumes volumes
 	for volPath := range container.Config.Volumes {
-		if c, err := container.runtime.volumes.Create(nil, container, "", ""); err != nil {
+		if c, err := container.runtime.volumes.Create(nil, container, "", "", nil); err != nil {
 			return err
 		} else {
 			if err := os.MkdirAll(path.Join(container.RootfsPath(), volPath), 0755); err != nil {