mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(monitor): support or filter of query (#21170)
This commit is contained in:
+1
-2
@@ -15,7 +15,6 @@ package promql
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -193,6 +192,6 @@ func (node *VectorSelector) String() string {
|
||||
if len(labelStrings) == 0 {
|
||||
return fmt.Sprintf("%s%s", node.Name, offset)
|
||||
}
|
||||
sort.Strings(labelStrings)
|
||||
// sort.Strings(labelStrings)
|
||||
return fmt.Sprintf("%s{%s}%s", node.Name, strings.Join(labelStrings, ","), offset)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user