mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-03-02 17:50:34 +00:00
Remove unused resultChan field in CPM
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)
This commit is contained in:
@@ -47,7 +47,6 @@ type customPluginMonitor struct {
|
||||
config cpmtypes.CustomPluginConfig
|
||||
conditions []types.Condition
|
||||
plugin *plugin.Plugin
|
||||
resultChan <-chan cpmtypes.Result
|
||||
statusChan chan *types.Status
|
||||
tomb *tomb.Tomb
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user