Skip to content

Commit dd8ab77

Browse files
Merge pull request #2415 from Luap99/cgroups-flake
pkg/cgroups: do not log ENOENT for Stat()
2 parents f71a7a6 + 3a26421 commit dd8ab77

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: pkg/cgroups/cgroups_linux.go

-1
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,6 @@ func (c *CgroupControl) Stat() (*cgroups.Stats, error) {
533533
if !errors.Is(err, os.ErrNotExist) {
534534
return nil, err
535535
}
536-
logrus.Warningf("Failed to retrieve cgroup stats: %v", err)
537536
continue
538537
}
539538
found = true

0 commit comments

Comments
 (0)