address issue

This commit is contained in:
Cody Lee
2025-04-04 08:33:58 -05:00
parent 5122360018
commit 4b19b873ab
5 changed files with 10 additions and 10 deletions

View File

@@ -306,7 +306,7 @@ func (u *promUnifi) collect(ch chan<- prometheus.Metric, filter *poller.Filter)
r := &Report{
Config: u.Config,
ch: make(chan []*metric, u.Config.Buffer),
ch: make(chan []*metric, u.Buffer),
Start: time.Now(),
}
defer r.close()