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:
Tim Zhang
2020-11-09 18:58:05 +08:00
parent 567cdb43b3
commit 10650e2b16
2 changed files with 2 additions and 3 deletions

View File

@@ -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()
};