mirror of
https://github.com/containers/skopeo.git
synced 2025-09-28 21:46:48 +00:00
Update module github.com/containers/storage to v1.47.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
2
vendor/github.com/containers/storage/pkg/lockfile/lockfile_unix.go
generated
vendored
2
vendor/github.com/containers/storage/pkg/lockfile/lockfile_unix.go
generated
vendored
@@ -135,7 +135,7 @@ func openLock(path string, ro bool) (fd int, err error) {
|
||||
|
||||
// the directory of the lockfile seems to be removed, try to create it
|
||||
if os.IsNotExist(err) {
|
||||
if err := os.MkdirAll(filepath.Dir(path), 0700); err != nil {
|
||||
if err := os.MkdirAll(filepath.Dir(path), 0o700); err != nil {
|
||||
return fd, fmt.Errorf("creating lock file directory: %w", err)
|
||||
}
|
||||
|
||||
|
1
vendor/github.com/containers/storage/pkg/lockfile/lockfile_windows.go
generated
vendored
1
vendor/github.com/containers/storage/pkg/lockfile/lockfile_windows.go
generated
vendored
@@ -138,6 +138,7 @@ func (l *LockFile) Modified() (bool, error) {
|
||||
func (l *LockFile) Touch() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (l *LockFile) IsReadWrite() bool {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user