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 ba14957 commit bf48ed3Copy full SHA for bf48ed3
metrics/disk_linux.go
@@ -34,6 +34,7 @@ func ReadDiskStats(stats *DiskStats) error {
34
if err != nil {
35
return err
36
}
37
+ defer inf.Close()
38
in := bufio.NewReader(inf)
39
40
// Iterate over the IO counter, and extract what we need
0 commit comments