volume server UI: fix ec volume ui (#7104)

* fix ec volume ui

* Update weed/storage/erasure_coding/ec_volume.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Chris Lu
2025-08-07 00:07:03 -07:00
committed by GitHub
parent dd4880d55a
commit b4d9618efc
3 changed files with 21 additions and 11 deletions

View File

@@ -492,7 +492,7 @@ func (vs *VolumeServer) VolumeEcShardsInfo(ctx context.Context, req *volume_serv
for _, shardDetail := range shardDetails {
ecShardInfo := &volume_server_pb.EcShardInfo{
ShardId: uint32(shardDetail.ShardId),
Size: shardDetail.Size,
Size: int64(shardDetail.Size),
Collection: v.Collection,
}
ecShardInfos = append(ecShardInfos, ecShardInfo)