Bump github.com/containers/storage to v1.12.7

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
Nalin Dahyabhai
2019-05-17 10:25:36 -04:00
parent 0e20ae0b3a
commit fc4e5f2580
4 changed files with 16 additions and 16 deletions

View File

@ -402,12 +402,10 @@ func (r *layerStore) Save() error {
if err != nil {
return err
}
defer r.Touch()
if err := ioutils.AtomicWriteFile(rpath, jldata, 0600); err != nil {
return err
}
if !r.IsReadWrite() {
return nil
}
r.mountsLockfile.Lock()
defer r.mountsLockfile.Unlock()
defer r.mountsLockfile.Touch()