mirror of
https://github.com/ClusterCockpit/cc-metric-store.git
synced 2025-07-22 21:01:41 +02:00
fix to Avro writer special cases
This commit is contained in:
@@ -36,12 +36,8 @@ func DataStaging(wg *sync.WaitGroup, ctx context.Context) {
|
||||
|
||||
metricName := ""
|
||||
|
||||
for i, name := range val.Selector {
|
||||
if i == 0 {
|
||||
metricName += name
|
||||
} else {
|
||||
metricName += "_" + name
|
||||
}
|
||||
for _, selector_name := range val.Selector {
|
||||
metricName += selector_name + "_"
|
||||
}
|
||||
|
||||
metricName += val.MetricName
|
||||
|
Reference in New Issue
Block a user