Просмотр исходного кода

Comply to the new graph.Create() prototype

Guillaume J. Charmes 12 лет назад
Родитель
Сommit
b0459adc27
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
 	// Create the requested volumes volumes
 	for volPath := range container.Config.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, "", ""); err != nil {
 			return err
 			return err
 		} else {
 		} else {
 			if err := os.MkdirAll(path.Join(container.RootfsPath(), volPath), 0755); err != nil {
 			if err := os.MkdirAll(path.Join(container.RootfsPath(), volPath), 0755); err != nil {