mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-10-31 09:26:52 +00:00 
			
		
		
		
	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 <christopher.cadiz.robinson@gmail.com>
This commit is contained in:
		| @@ -114,7 +114,7 @@ impl CgroupsResource { | |||||||
|     pub async fn delete(&self) -> Result<()> { |     pub async fn delete(&self) -> Result<()> { | ||||||
|         for cg_pid in self.cgroup_manager.tasks() { |         for cg_pid in self.cgroup_manager.tasks() { | ||||||
|             // For now, we can't guarantee that the thread in cgroup_manager does still |             // 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. |             // to let it go. | ||||||
|             if let Err(error) = self.cgroup_manager.remove_task(cg_pid) { |             if let Err(error) = self.cgroup_manager.remove_task(cg_pid) { | ||||||
|                 match error.source() { |                 match error.source() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user