mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-21 18:53:30 +00:00
config: Make the pipe_size field optional
Add the serde default attribute to the field so that parsing can continue if this field is not present. The agent assumes a default value for this, so it is not required by the user to provide a value here. Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
parent
68f6357731
commit
07f7d17db5
@ -80,6 +80,7 @@ pub struct Agent {
|
|||||||
pub kernel_modules: Vec<String>,
|
pub kernel_modules: Vec<String>,
|
||||||
|
|
||||||
/// container pipe size
|
/// container pipe size
|
||||||
|
#[serde(default)]
|
||||||
pub container_pipe_size: u32,
|
pub container_pipe_size: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user