From fea7e8816fa5590f16bc97c344b38eea22db6391 Mon Sep 17 00:00:00 2001 From: Domesticcadiz Date: Wed, 1 Mar 2023 09:37:17 -0600 Subject: [PATCH] runtime-rs: Fixed typo mod.rs Fixed the typo in comment in the delete method located in mod.rs file. Fixes: #6256. Signed-off-by: Domesticcadiz --- src/runtime-rs/crates/resource/src/cgroups/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime-rs/crates/resource/src/cgroups/mod.rs b/src/runtime-rs/crates/resource/src/cgroups/mod.rs index 7787d2ad0d..b7f515d7f0 100644 --- a/src/runtime-rs/crates/resource/src/cgroups/mod.rs +++ b/src/runtime-rs/crates/resource/src/cgroups/mod.rs @@ -114,7 +114,7 @@ impl CgroupsResource { pub async fn delete(&self) -> Result<()> { for cg_pid in self.cgroup_manager.tasks() { // For now, we can't guarantee that the thread in cgroup_manager does still - // exist. Once it exit, we should ignor that error returned by remove_task + // exist. Once it exit, we should ignore that error returned by remove_task // to let it go. if let Err(error) = self.cgroup_manager.remove_task(cg_pid) { match error.source() {