Fix LikwidCollector, merge artifact causes problems

This commit is contained in:
Thomas Roehl 2022-02-02 16:55:15 +01:00
parent 6f399d5f08
commit e59852be03

View File

@ -495,7 +495,7 @@ func (m *LikwidCollector) Read(interval time.Duration, output chan lp.CCMetric)
return
}
for i, _ := range m.groups {
for i := range m.groups {
// measure event set 'i' for 'interval' seconds
err := m.takeMeasurement(i, interval)
if err != nil {