mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(monitor): unknown column returned when group by name tag (#21870)
This commit is contained in:
@@ -110,7 +110,7 @@ func FormatRawName(idx int, name string, groupByTags []string, tags map[string]s
|
||||
for _, tagKey := range tagKeys.List() {
|
||||
if tagV, ok := tags[tagKey]; ok {
|
||||
gHint := genHint(tagKey, tagV)
|
||||
if strings.Contains(tagKey, "name") {
|
||||
if strings.Contains(tagKey, "name") && !sets.NewString(groupByTags...).Has(tagKey) {
|
||||
hintNames.Insert(gHint)
|
||||
} else {
|
||||
hints.Insert(gHint)
|
||||
|
||||
Reference in New Issue
Block a user