mirror of
https://github.com/containers/skopeo.git
synced 2025-09-26 12:44:55 +00:00
Bump github.com/containers/storage from 1.18.2 to 1.19.0
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.18.2 to 1.19.0. - [Release notes](https://github.com/containers/storage/releases) - [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md) - [Commits](https://github.com/containers/storage/compare/v1.18.2...v1.19.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
committed by
Daniel J Walsh
parent
2415f3fa4d
commit
116add9d00
9
vendor/github.com/containers/storage/drivers/overlay/overlay.go
generated
vendored
9
vendor/github.com/containers/storage/drivers/overlay/overlay.go
generated
vendored
@@ -1237,6 +1237,15 @@ func (d *Driver) UpdateLayerIDMap(id string, toContainer, toHost *idtools.IDMapp
|
||||
i--
|
||||
}
|
||||
|
||||
// We need to re-create the work directory as it might keep a reference
|
||||
// to the old upper layer in the index.
|
||||
workDir := filepath.Join(dir, "work")
|
||||
if err := os.RemoveAll(workDir); err == nil {
|
||||
if err := idtools.MkdirAs(workDir, 0755, rootUID, rootGID); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
// Re-create the directory that we're going to use as the upper layer.
|
||||
if err := idtools.MkdirAs(diffDir, 0755, rootUID, rootGID); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user