MSP-8976 Up deps
This commit is contained in:
1 parent
b8ef777339
commit
11d705124d
603 files changed
+47715
-13202
No files matched your search
+2
-2
@@ -18,7 +18,7 @@ package procfs
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/prometheus/procfs/internal/util"
|
||||
"github.com/prometheus/procfs/internal/parsers"
|
||||
)
|
||||
|
||||
// KernelRandom contains information about to the kernel's random number generator.
|
||||
@@ -48,7 +48,7 @@ func (fs FS) KernelRandom() (KernelRandom, error) {
|
||||
"write_wakeup_threshold": &random.WriteWakeupThreshold,
|
||||
"read_wakeup_threshold": &random.ReadWakeupThreshold,
|
||||
} {
|
||||
val, err := util.ReadUintFromFile(fs.proc.Path("sys", "kernel", "random", file))
|
||||
val, err := parsers.ReadUintFromFile(fs.proc.Path("sys", "kernel", "random", file))
|
||||
if os.IsNotExist(err) {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user