mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 04:34:27 +00:00
runtime: Plug drop-in decoding into decodeConfig()
Fixes #4108 Signed-off-by: Pavel Mores <pmores@redhat.com>
This commit is contained in:
parent
0f9856c465
commit
99f5ca80fc
@ -1321,6 +1321,11 @@ func decodeConfig(configPath string) (tomlConfig, string, error) {
|
||||
return tomlConf, resolved, err
|
||||
}
|
||||
|
||||
err = decodeDropIns(resolved, &tomlConf)
|
||||
if err != nil {
|
||||
return tomlConf, resolved, err
|
||||
}
|
||||
|
||||
return tomlConf, resolved, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user