mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
remove the redundant type conversion
This commit is contained in:
parent
3ebeae0c0b
commit
f3de4b6c18
|
@ -208,8 +208,8 @@ func (v *Volume) ToVolumeInformationMessage() *master_pb.VolumeInformationMessag
|
||||||
Id: uint32(v.Id),
|
Id: uint32(v.Id),
|
||||||
Size: size,
|
Size: size,
|
||||||
Collection: v.Collection,
|
Collection: v.Collection,
|
||||||
FileCount: uint64(v.FileCount()),
|
FileCount: v.FileCount(),
|
||||||
DeleteCount: uint64(v.DeletedCount()),
|
DeleteCount: v.DeletedCount(),
|
||||||
DeletedByteCount: v.DeletedSize(),
|
DeletedByteCount: v.DeletedSize(),
|
||||||
ReadOnly: v.noWriteOrDelete,
|
ReadOnly: v.noWriteOrDelete,
|
||||||
ReplicaPlacement: uint32(v.ReplicaPlacement.Byte()),
|
ReplicaPlacement: uint32(v.ReplicaPlacement.Byte()),
|
||||||
|
|
Loading…
Reference in a new issue