Browse Source

fix tests

pull/2241/head
Chris Lu 3 years ago
parent
commit
882a93dacd
  1. 2
      weed/shell/command_volume_list_test.go

2
weed/shell/command_volume_list_test.go

@ -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…
Cancel
Save