mirror of
https://github.com/containers/skopeo.git
synced 2025-09-13 05:23:05 +00:00
Bump github.com/containers/common from 0.11.2 to 0.11.4
Bumps [github.com/containers/common](https://github.com/containers/common) from 0.11.2 to 0.11.4. - [Release notes](https://github.com/containers/common/releases) - [Commits](https://github.com/containers/common/compare/v0.11.2...v0.11.4) 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
96353f2b64
commit
a31d6069dc
6
vendor/github.com/containers/storage/store.go
generated
vendored
6
vendor/github.com/containers/storage/store.go
generated
vendored
@@ -629,14 +629,14 @@ func GetStore(options StoreOptions) (Store, error) {
|
||||
return nil, errors.Wrap(ErrIncompleteOptions, "no storage runroot specified")
|
||||
}
|
||||
|
||||
if err := os.MkdirAll(options.RunRoot, 0700); err != nil && !os.IsExist(err) {
|
||||
if err := os.MkdirAll(options.RunRoot, 0700); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := os.MkdirAll(options.GraphRoot, 0700); err != nil && !os.IsExist(err) {
|
||||
if err := os.MkdirAll(options.GraphRoot, 0700); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
for _, subdir := range []string{"mounts", "tmp", options.GraphDriverName} {
|
||||
if err := os.MkdirAll(filepath.Join(options.GraphRoot, subdir), 0700); err != nil && !os.IsExist(err) {
|
||||
if err := os.MkdirAll(filepath.Join(options.GraphRoot, subdir), 0700); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user