mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-08-29 21:42:59 +02:00
Close done channel in MetricCache
This commit is contained in:
@@ -76,6 +76,7 @@ func (c *metricCache) Start() {
|
|||||||
// Router cache is done
|
// Router cache is done
|
||||||
done := func() {
|
done := func() {
|
||||||
cclog.ComponentDebug("MetricCache", "DONE")
|
cclog.ComponentDebug("MetricCache", "DONE")
|
||||||
|
close(c.done)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rotate cache interval
|
// Rotate cache interval
|
||||||
|
Reference in New Issue
Block a user