mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-27 12:49:41 +08:00
fix tests
This commit is contained in:
parent
7412ccdf88
commit
882a93dacd
@ -68,7 +68,7 @@ func parseOutput(output string) *master_pb.TopologyInfo {
|
|||||||
maxVolumeCount, _ := strconv.Atoi(maxVolumeCountStr)
|
maxVolumeCount, _ := strconv.Atoi(maxVolumeCountStr)
|
||||||
disk = &master_pb.DiskInfo{
|
disk = &master_pb.DiskInfo{
|
||||||
Type: diskType,
|
Type: diskType,
|
||||||
MaxVolumeCount: uint64(maxVolumeCount),
|
MaxVolumeCount: int64(maxVolumeCount),
|
||||||
}
|
}
|
||||||
dn.DiskInfos[types.ToDiskType(diskType).String()] = disk
|
dn.DiskInfos[types.ToDiskType(diskType).String()] = disk
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user