Merge pull request #1846 from dotcloud/fix_return_error
Fix wrong return error
This commit is contained in:
commit
b986fd00e0
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue