mirror of https://github.com/milvus-io/milvus.git
fix: quotaCenter collect metrics failed because the wrong param (#33398)
- issue: #33397 Signed-off-by: SimFG <bang.fu@zilliz.com>pull/33411/head
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…
Reference in New Issue