Describe the bug
Cgroup v2 set cpu period report error invalid format; max 100000 0
Expected behavior
change value successfully
Additional context
The code report error is here
fn parse_cfs_quota_and_period(mut file: File) -> Result {
...
if fields.len() != 2 {
return Err(Error::from_string(format!("invaild format: {}", content)));
}
...
}
Describe the bug
Cgroup v2 set cpu period report error invalid format; max 100000 0
Expected behavior
change value successfully
Additional context
The code report error is here
fn parse_cfs_quota_and_period(mut file: File) -> Result {
...
if fields.len() != 2 {
return Err(Error::from_string(format!("invaild format: {}", content)));
}
...
}