mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-01 05:04:26 +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:
parent
ba9227184e
commit
fea7e8816f
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user