Merge pull request #13536 from Mic92/master

remove redundant mount/unmount calls on commit
This commit is contained in:
Jessie Frazelle
2015-06-01 15:57:14 -07:00
2 changed files with 0 additions and 10 deletions
-5
View File
@@ -23,11 +23,6 @@ func (daemon *Daemon) Commit(container *Container, repository, tag, comment, aut
defer container.Unpause()
}
if err := container.Mount(); err != nil {
return nil, err
}
defer container.Unmount()
rwTar, err := container.ExportRw()
if err != nil {
return nil, err