diff options
| author | Chris Lu <chris.lu@uber.com> | 2019-03-23 11:33:34 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@uber.com> | 2019-03-23 11:33:34 -0700 |
| commit | 95e0520182eeeb57921916dc694b64ff342c93e1 (patch) | |
| tree | 5381e9d929ae4d55bd435f7412f75db63732aa77 /weed/topology/allocate_volume.go | |
| parent | a3490b600cad88ced4ea9bf3672b8566f207f57f (diff) | |
| download | seaweedfs-95e0520182eeeb57921916dc694b64ff342c93e1.tar.xz seaweedfs-95e0520182eeeb57921916dc694b64ff342c93e1.zip | |
weed volume: add grpc operation to relicate a volume to local
Diffstat (limited to 'weed/topology/allocate_volume.go')
| -rw-r--r-- | weed/topology/allocate_volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/topology/allocate_volume.go b/weed/topology/allocate_volume.go index 66b1b3af5..1360988b3 100644 --- a/weed/topology/allocate_volume.go +++ b/weed/topology/allocate_volume.go @@ -17,7 +17,7 @@ func AllocateVolume(dn *DataNode, grpcDialOption grpc.DialOption, vid storage.Vo return operation.WithVolumeServerClient(dn.Url(), grpcDialOption, func(client volume_server_pb.VolumeServerClient) error { _, deleteErr := client.AssignVolume(context.Background(), &volume_server_pb.AssignVolumeRequest{ - VolumdId: uint32(vid), + VolumeId: uint32(vid), Collection: option.Collection, Replication: option.ReplicaPlacement.String(), Ttl: option.Ttl.String(), |
