fix linting

This commit is contained in:
Cody Lee
2025-12-03 11:40:21 -06:00
parent bc37996775
commit 6f4384c18d
14 changed files with 41 additions and 24 deletions

View File

@@ -81,12 +81,14 @@ func (u *UnifiPoller) InitializeInputs() error {
if err := input.Initialize(u); err != nil {
u.LogDebugf("error initializing input ... %s", input.Name)
errChan <- err
return
}
u.LogDebugf("input successfully initialized ... %s", input.Name)
errChan <- nil
}(input)
}
@@ -142,7 +144,6 @@ func collectEvents(filter *Filter, inputs []*InputPlugin) (*Events, error) {
}
e, err := input.Events(filter)
if err != nil {
resultChan <- eventInputResult{err: err}