mirror of
https://github.com/containers/podman.git
synced 2025-11-11 16:45:02 +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:
4
vendor/github.com/containers/common/pkg/hooks/1.0.0/hook.go
generated
vendored
4
vendor/github.com/containers/common/pkg/hooks/1.0.0/hook.go
generated
vendored
@@ -5,9 +5,9 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"os"
|
||||
"regexp"
|
||||
|
||||
"github.com/containers/storage/pkg/fileutils"
|
||||
rspec "github.com/opencontainers/runtime-spec/specs-go"
|
||||
)
|
||||
|
||||
@@ -44,7 +44,7 @@ func (hook *Hook) Validate(extensionStages []string) (err error) {
|
||||
return errors.New("missing required property: hook.path")
|
||||
}
|
||||
|
||||
if _, err := os.Stat(hook.Hook.Path); err != nil {
|
||||
if err := fileutils.Exists(hook.Hook.Path); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user