|
@@ -298,7 +298,7 @@ func (p *AllocationProperties) GenerateKey(aggregateBy []string, labelConfig *La
|
|
|
} else {
|
|
} else {
|
|
|
labelName := labelConfig.Sanitize(strings.TrimPrefix(agg, "label:"))
|
|
labelName := labelConfig.Sanitize(strings.TrimPrefix(agg, "label:"))
|
|
|
if labelValue, ok := labels[labelName]; ok {
|
|
if labelValue, ok := labels[labelName]; ok {
|
|
|
- names = append(names, fmt.Sprintf("%s=%s", labelName, labelValue))
|
|
|
|
|
|
|
+ names = append(names, fmt.Sprintf("%s", labelValue))
|
|
|
} else {
|
|
} else {
|
|
|
names = append(names, UnallocatedSuffix)
|
|
names = append(names, UnallocatedSuffix)
|
|
|
}
|
|
}
|