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 ec46587 commit 2606d52Copy full SHA for 2606d52
pkg/kernelmonitor/kernel_monitor.go
@@ -20,7 +20,6 @@ import (
20
"encoding/json"
21
"io/ioutil"
22
"regexp"
23
- "syscall"
24
"time"
25
26
kerntypes "k8s.io/node-problem-detector/pkg/kernelmonitor/types"
@@ -81,11 +80,6 @@ func NewKernelMonitorOrDie(configPath string) KernelMonitor {
81
80
panic(err)
82
}
83
glog.Infof("Finish parsing log file: %+v", k.config)
84
- var info syscall.Sysinfo_t
85
- err = syscall.Sysinfo(&info)
86
- if err != nil {
87
- panic(err)
88
- }
89
k.watcher = NewKernelLogWatcher(k.config.WatcherConfig)
90
k.buffer = NewLogBuffer(k.config.BufferSize)
91
// A 1000 size channel should be big enough.
0 commit comments