mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
Update tests to adapt new type of fields in resource
The type has been changed to Option type. Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
@@ -16,8 +16,7 @@ fn pid_resources() {
|
||||
{
|
||||
let res = Resources {
|
||||
pid: PidResources {
|
||||
update_values: true,
|
||||
maximum_number_of_processes: MaxValue::Value(512),
|
||||
maximum_number_of_processes: Some(MaxValue::Value(512)),
|
||||
},
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user