mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-06 22:41:56 +02:00
Update maintenance_scanner.go
This commit is contained in:
1 parent
5a6954be1b
commit
06c012ea60
1 file changed
+1
-1
@@ -301,7 +301,7 @@ func (ms *MaintenanceScanner) createECVolumeMetric(volumeID uint32) *VolumeHealt
|
||||
Age: 24 * time.Hour, // Default age
|
||||
}
|
||||
|
||||
// Calculate total size from all shards of this volume
|
||||
// Calculate total size from all shards of this volume
|
||||
if len(ecShardInfo.ShardSizes) > 0 {
|
||||
var totalShardSize uint64
|
||||
for _, shardSize := range ecShardInfo.ShardSizes {
|
||||
|
||||
Reference in new issue
Block a user