mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: quotaCenter collect metrics failed because the wrong param (#33398)
- issue: #33397 Signed-off-by: SimFG <bang.fu@zilliz.com>
This commit is contained in:
parent
59a7a46904
commit
1973ebbc42
@ -437,10 +437,8 @@ func (q *QuotaCenter) collectMetrics() error {
|
||||
q.diskMu.Lock()
|
||||
if dataCoordTopology.Cluster.Self.QuotaMetrics != nil {
|
||||
q.dataCoordMetrics = dataCoordTopology.Cluster.Self.QuotaMetrics
|
||||
for _, metricCollections := range q.dataCoordMetrics.PartitionsBinlogSize {
|
||||
for metricCollection := range metricCollections {
|
||||
datacoordQuotaCollections = append(datacoordQuotaCollections, metricCollection)
|
||||
}
|
||||
for metricCollection := range q.dataCoordMetrics.PartitionsBinlogSize {
|
||||
datacoordQuotaCollections = append(datacoordQuotaCollections, metricCollection)
|
||||
}
|
||||
}
|
||||
q.diskMu.Unlock()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user