mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-21 17:34:31 +00:00
kata-types: remove default setting of guest_hook_path
To make it aligned with the setting of runtime-go, we should keep it as empty when users doesn't enable and set its specified path. Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
parent
c92bb1aa88
commit
c4af9be411
@ -951,9 +951,6 @@ fn default_qgs_port() -> u32 {
|
||||
impl SecurityInfo {
|
||||
/// Adjust the configuration information after loading from configuration file.
|
||||
pub fn adjust_config(&mut self) -> Result<()> {
|
||||
if self.guest_hook_path.is_empty() {
|
||||
self.guest_hook_path = default::DEFAULT_GUEST_HOOK_PATH.to_string();
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user