mirror of
https://github.com/containers/podman.git
synced 2025-12-11 01:11:30 +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:
3
vendor/github.com/containers/common/pkg/config/config_local.go
generated
vendored
3
vendor/github.com/containers/common/pkg/config/config_local.go
generated
vendored
@@ -9,6 +9,7 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/containers/storage/pkg/fileutils"
|
||||
units "github.com/docker/go-units"
|
||||
"tags.cncf.io/container-device-interface/pkg/parser"
|
||||
)
|
||||
@@ -83,7 +84,7 @@ func (c *ContainersConfig) validateTZ() error {
|
||||
|
||||
for _, paths := range lookupPaths {
|
||||
zonePath := filepath.Join(paths, c.TZ)
|
||||
if _, err := os.Stat(zonePath); err == nil {
|
||||
if err := fileutils.Exists(zonePath); err == nil {
|
||||
// found zone information
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user