fix panic caused by concurrent map writes

This commit is contained in:
Christoph Kluge
2026-03-04 15:54:08 +01:00
parent 67a17b5306
commit 9672903d41

View File

@@ -126,6 +126,9 @@ func initClusterConfig() error {
if newMetric.Energy != "" {
sc.EnergyFootprint = append(sc.EnergyFootprint, newMetric.Name)
}
// Init Topology Lookup Maps Once Per Subcluster
sc.Topology.InitTopologyMaps()
}
item := metricLookup[mc.Name]