mirror of
https://github.com/containers/skopeo.git
synced 2025-09-26 20:53:16 +00:00
Bump github.com/containers/storage from 1.23.5 to 1.23.9
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.23.5 to 1.23.9. - [Release notes](https://github.com/containers/storage/releases) - [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md) - [Commits](containers/storage@v1.23.5...v1.23.9) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/storage/pkg/mount/mount.go
generated
vendored
2
vendor/github.com/containers/storage/pkg/mount/mount.go
generated
vendored
@@ -90,7 +90,7 @@ func RecursiveUnmount(target string) error {
|
||||
if err := Unmount(m.Mountpoint); err != nil && i == len(mounts)-1 {
|
||||
return err
|
||||
// Ignore errors for submounts and continue trying to unmount others
|
||||
// The final unmount should fail if there ane any submounts remaining
|
||||
// The final unmount should fail if there are any submounts remaining
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
12
vendor/github.com/containers/storage/pkg/mount/mountinfo.go
generated
vendored
12
vendor/github.com/containers/storage/pkg/mount/mountinfo.go
generated
vendored
@@ -1,21 +1,13 @@
|
||||
package mount
|
||||
|
||||
import (
|
||||
"github.com/containers/storage/pkg/fileutils"
|
||||
"github.com/moby/sys/mountinfo"
|
||||
)
|
||||
|
||||
type Info = mountinfo.Info
|
||||
|
||||
var Mounted = mountinfo.Mounted
|
||||
|
||||
func GetMounts() ([]*Info, error) {
|
||||
return mountinfo.GetMounts(nil)
|
||||
}
|
||||
|
||||
// Mounted determines if a specified mountpoint has been mounted.
|
||||
func Mounted(mountpoint string) (bool, error) {
|
||||
mountpoint, err := fileutils.ReadSymlinkedPath(mountpoint)
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
return mountinfo.Mounted(mountpoint)
|
||||
}
|
||||
|
Reference in New Issue
Block a user