diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2025-08-07 00:07:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-07 00:07:03 -0700 |
| commit | b4d9618efc476443799f3700b5edf34fefee534a (patch) | |
| tree | 2464bfe6800ad24657ec4f8e280d886803df6366 /weed/server/volume_grpc_erasure_coding.go | |
| parent | dd4880d55a193709a2eb05b39d7326ef7834457a (diff) | |
| download | seaweedfs-b4d9618efc476443799f3700b5edf34fefee534a.tar.xz seaweedfs-b4d9618efc476443799f3700b5edf34fefee534a.zip | |
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>
Diffstat (limited to 'weed/server/volume_grpc_erasure_coding.go')
| -rw-r--r-- | weed/server/volume_grpc_erasure_coding.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/volume_grpc_erasure_coding.go b/weed/server/volume_grpc_erasure_coding.go index 5981c5efe..88e94115d 100644 --- a/weed/server/volume_grpc_erasure_coding.go +++ b/weed/server/volume_grpc_erasure_coding.go @@ -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) |
