mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
fix: missing metrics for healed objects (#19392)
all healed successful objects via queueHealTask in a non-blocking heal weren't being reported correctly, this PR fixes this comprehensively.
This commit is contained in:
+1
-1
@@ -2654,7 +2654,7 @@ func getMinioHealingMetrics(opts MetricsGroupOpts) *MetricsGroupV2 {
|
||||
}
|
||||
|
||||
func getFailedItems(seq *healSequence) (m []MetricV2) {
|
||||
items := seq.gethealFailedItemsMap()
|
||||
items := seq.getHealFailedItemsMap()
|
||||
m = make([]MetricV2, 0, len(items))
|
||||
for k, v := range items {
|
||||
s := strings.Split(k, ",")
|
||||
|
||||
Reference in New Issue
Block a user