shell: add volume.balance command

This commit is contained in:
Chris Lu committed 2019-05-05 21:17:23 -07:00
1 parent 3f2a30bd05
commit 3ff92037cc
4 files changed
+317 -95

No files matched your search

+2 -1
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