This commit is contained in:
chrislu
2024-04-18 08:47:45 -07:00
parent 0bdf121e51
commit d9490c5e1f
4 changed files with 13 additions and 13 deletions

View File

@@ -85,7 +85,7 @@ func (ms *MasterServer) Assign(ctx context.Context, req *master_pb.AssignRequest
return nil, fmt.Errorf("no free volumes left for " + option.String())
}
vl.AddGrowRequest()
ms.vgCh <- &topology.VolumeGrowRequest{
ms.volumeGrowthRequestChan <- &topology.VolumeGrowRequest{
Option: option,
Count: int(req.WritableVolumeCount),
}