mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 16:57:18 +00:00
katautils: fix the issue of missing proxy debug config
When used builtin proxy, it's better to config the proxy debug based on debug setting of runtime in kata configuration. Fixes:#1495 Signed-off-by: lifupan <lifupan@gmail.com>
This commit is contained in:
parent
fef124921c
commit
8041fc9314
@ -598,6 +598,9 @@ func updateRuntimeConfigHypervisor(configPath string, tomlConf tomlConfig, confi
|
||||
func updateRuntimeConfigProxy(configPath string, tomlConf tomlConfig, config *oci.RuntimeConfig, builtIn bool) error {
|
||||
if builtIn {
|
||||
config.ProxyType = vc.KataBuiltInProxyType
|
||||
config.ProxyConfig = vc.ProxyConfig{
|
||||
Debug: config.Debug,
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user