mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
vendor c/common@main
Finalizes the linked BZ to fix passing down custom authfiles during auto updates. Also fixes the if-newer pull policy. [NO TESTS NEEDED] for now validated manually. There's a TODO to add a new system test that I did not find time for before PTO. BZ: bugzilla.redhat.com/show_bug.cgi?id=2000943 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
3
vendor/github.com/mitchellh/mapstructure/decode_hooks.go
generated
vendored
3
vendor/github.com/mitchellh/mapstructure/decode_hooks.go
generated
vendored
@ -62,7 +62,8 @@ func DecodeHookExec(
|
||||
func ComposeDecodeHookFunc(fs ...DecodeHookFunc) DecodeHookFunc {
|
||||
return func(f reflect.Value, t reflect.Value) (interface{}, error) {
|
||||
var err error
|
||||
var data interface{}
|
||||
data := f.Interface()
|
||||
|
||||
newFrom := f
|
||||
for _, f1 := range fs {
|
||||
data, err = DecodeHookExec(f1, newFrom, t)
|
||||
|
Reference in New Issue
Block a user