Merge pull request #152 from jokemanfire/dev

fix(Controller): Errors are hidden by default
This commit is contained in:
Xuewei Niu
2025-11-20 19:18:36 +08:00
committed by GitHub
3 changed files with 10 additions and 11 deletions

View File

@@ -233,7 +233,7 @@ pub mod tests {
String::from_utf8_lossy(&output.stdout).to_string()
}
fn start_default_cgroup(pid: CgroupPid, unit: &str) -> SystemdClient {
fn start_default_cgroup(pid: CgroupPid, unit: &'_ str) -> SystemdClient<'_> {
let mut props = PropertiesBuilder::default_cgroup(TEST_SLICE, unit).build();
props.push((PIDS, Value::Array(vec![pid.pid as u32].into())));
let cgroup = SystemdClient::new(unit, props).unwrap();