Merge pull request #6380 from Christopher-C-Robinson/#6256-typo-fix

src: Fixed typo mod.rs
This commit is contained in:
Chao Wu 2023-03-02 14:31:33 +08:00 committed by GitHub
commit 2934ab4a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {