mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
fix wrong return error
This commit is contained in:
@@ -648,7 +648,7 @@ func (container *Container) Start(hostConfig *HostConfig) error {
|
||||
continue
|
||||
}
|
||||
if err := os.MkdirAll(path.Join(container.RootfsPath(), volPath), 0755); err != nil {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
container.Volumes[volPath] = id
|
||||
if isRW, exists := c.VolumesRW[volPath]; exists {
|
||||
|
||||
Reference in New Issue
Block a user