mirror of
https://github.com/containers/podman.git
synced 2025-12-01 02:27:13 +08:00
vendor c/storage@6902c2d
Mainly to merge fixes for #19467 into the main branch. Fixes: #19467 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
3
vendor/github.com/containers/storage/drivers/btrfs/btrfs.go
generated
vendored
3
vendor/github.com/containers/storage/drivers/btrfs/btrfs.go
generated
vendored
@@ -675,8 +675,7 @@ func (d *Driver) Exists(id string) bool {
|
||||
|
||||
// List all of the layers known to the driver.
|
||||
func (d *Driver) ListLayers() ([]string, error) {
|
||||
subvolumesDir := filepath.Join(d.home, "subvolumes")
|
||||
entries, err := os.ReadDir(subvolumesDir)
|
||||
entries, err := os.ReadDir(d.subvolumesDir())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user