mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-02-11 21:41:46 +01:00
Adopt unit test to new API
This commit is contained in:
@@ -95,9 +95,7 @@ func (l *Level) getHealthyMetrics(m *MemoryStore, expectedMetrics []string) []st
|
||||
continue
|
||||
}
|
||||
|
||||
if degraded[metricName] {
|
||||
degradedList = append(degradedList, metricName)
|
||||
}
|
||||
degradedList = append(degradedList, metricName)
|
||||
}
|
||||
|
||||
return degradedList
|
||||
|
||||
Reference in New Issue
Block a user