1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-04 16:16:58 +02:00
This commit is contained in:
Chris Lu 2021-03-19 01:31:56 -07:00
parent b1a86cf808
commit e9b1853d63
2 changed files with 2 additions and 2 deletions

View file

@ -180,4 +180,4 @@ func TestBalance(t *testing.T) {
t.Errorf("balance: %v", err)
}
}
}

View file

@ -67,7 +67,7 @@ func parseOutput(output string) *master_pb.TopologyInfo {
maxVolumeCountStr := parts[1][strings.Index(parts[1], "/")+1:]
maxVolumeCount, _ := strconv.Atoi(maxVolumeCountStr)
disk = &master_pb.DiskInfo{
Type: diskType,
Type: diskType,
MaxVolumeCount: uint64(maxVolumeCount),
}
dn.DiskInfos[types.ToDiskType(diskType).String()] = disk