diff --git a/src/runtime-rs/crates/resource/src/cgroups/mod.rs b/src/runtime-rs/crates/resource/src/cgroups/mod.rs index beb4850088..7bcb394492 100644 --- a/src/runtime-rs/crates/resource/src/cgroups/mod.rs +++ b/src/runtime-rs/crates/resource/src/cgroups/mod.rs @@ -179,7 +179,7 @@ impl CgroupsResource { // All vCPU threads move to the sandbox controller. for tid in tids { self.cgroup_manager - .add_task_by_tgid(CgroupPid { pid: *tid as u64 })? + .add_task(CgroupPid { pid: *tid as u64 })? } Ok(())