We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b412ffd commit 2f23fedCopy full SHA for 2f23fed
internal/pkg/cgroups/reader.go
@@ -17,6 +17,8 @@ func ReadCgroupfsProperty(node *Node, cgroupPath, property string) error {
17
return fmt.Errorf("error opening cgroupfs file %w", err)
18
}
19
20
+ defer f.Close() //nolint:errcheck
21
+
22
err = node.Parse(property, f)
23
if err != nil {
24
return fmt.Errorf("error parsing cgroupfs file %w", err)
0 commit comments