runtime: Plug drop-in decoding into decodeConfig()

Fixes #4108

Signed-off-by: Pavel Mores <pmores@redhat.com>
This commit is contained in:
Pavel Mores 2022-04-14 19:46:47 +02:00
parent 0f9856c465
commit 99f5ca80fc

View File

@ -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
}