mirror of
https://github.com/containers/skopeo.git
synced 2025-09-13 21:40:31 +00:00
Bump github.com/containers/storage from 1.35.0 to 1.36.0
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.35.0 to 1.36.0. - [Release notes](https://github.com/containers/storage/releases) - [Changelog](https://github.com/containers/storage/blob/main/docs/containers-storage-changes.md) - [Commits](https://github.com/containers/storage/compare/v1.35.0...v1.36.0) --- updated-dependencies: - dependency-name: github.com/containers/storage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
13
vendor/github.com/containers/storage/store.go
generated
vendored
13
vendor/github.com/containers/storage/store.go
generated
vendored
@@ -3054,10 +3054,15 @@ func (s *store) Layers() ([]Layer, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := lstore.LoadLocked(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
layers, err := lstore.Layers()
|
||||
|
||||
layers, err := func() ([]Layer, error) {
|
||||
lstore.Lock()
|
||||
defer lstore.Unlock()
|
||||
if err := lstore.Load(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return lstore.Layers()
|
||||
}()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user