mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
vendor: update containers/{buildah,common,image,storage}
The change in healthcheck_run_test.go, depends on the containers/image change: commit b6afa8ca7b324aca8fd5a7b5b206fc05c0c04874 Author: Mikhail Sokolov <msokolov@evolution.com> Date: Fri Mar 15 13:37:44 2024 +0200 Add support for Docker HealthConfig.StartInterval (v25.0.0+) Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
7
vendor/github.com/containers/buildah/pkg/parse/parse_unix.go
generated
vendored
7
vendor/github.com/containers/buildah/pkg/parse/parse_unix.go
generated
vendored
@@ -18,6 +18,13 @@ func DeviceFromPath(device string) (define.ContainerDevices, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if linkTarget, err := os.Readlink(src); err == nil {
|
||||
if filepath.IsAbs(linkTarget) {
|
||||
src = linkTarget
|
||||
} else {
|
||||
src = filepath.Join(filepath.Dir(src), linkTarget)
|
||||
}
|
||||
}
|
||||
srcInfo, err := os.Stat(src)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("getting info of source device %s: %w", src, err)
|
||||
|
||||
Reference in New Issue
Block a user