mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-05-10 03:08:24 +00:00
Remove log message for restart on error
Removed log message for disabled restart on error.
This commit is contained in:
@@ -120,7 +120,6 @@ func (k *kernelLogWatcher) watchLoop() {
|
||||
|
||||
// Only attempt to restart if configured to do so
|
||||
if !k.restartOnError() {
|
||||
klog.Infof("Restart on error not enabled, stopping watcher")
|
||||
return
|
||||
}
|
||||
|
||||
@@ -131,7 +130,7 @@ func (k *kernelLogWatcher) watchLoop() {
|
||||
klog.Errorf("Failed to close kmsg parser: %v", err)
|
||||
}
|
||||
|
||||
// Try to restart with backoff
|
||||
// Try to restart
|
||||
var restarted bool
|
||||
kmsgs, restarted = k.retryCreateParser()
|
||||
if !restarted {
|
||||
|
||||
Reference in New Issue
Block a user