mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-02-14 18:09:57 +00:00
This commit removes the resultChan field in ./pkg/custompluginmonitor's
customPluginMonitor struct. This was detected by staticcheck:
―❤―▶ staticcheck ./pkg/custompluginmonitor/
pkg/custompluginmonitor/custom_plugin_monitor.go:50:2: field resultChan is unused (U1000)
Custom Plugin Monitor
Custom plugin monitor is a plugin mechanism for node-problem-detector. It will extend node-problem-detector to execute any monitor scripts written in any language. The monitor scripts must conform to the plugin protocol in exit code and standard output. For more info about the plugin protocol, please refer to the node-problem-detector plugin interface proposal