shell: add volume.balance command

This commit is contained in:
Chris Lu
2019-05-05 21:17:23 -07:00
parent 3f2a30bd05
commit 3ff92037cc
4 changed files with 317 additions and 95 deletions

View File

@@ -135,7 +135,8 @@ func (ms *MasterServer) VolumeList(ctx context.Context, req *master_pb.VolumeLis
}
resp := &master_pb.VolumeListResponse{
TopologyInfo: ms.Topo.ToTopologyInfo(),
TopologyInfo: ms.Topo.ToTopologyInfo(),
VolumeSizeLimitMb: uint64(ms.volumeSizeLimitMB),
}
return resp, nil