aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/allocate_volume.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2019-03-23 11:33:34 -0700
committerChris Lu <chris.lu@uber.com>2019-03-23 11:33:34 -0700
commit95e0520182eeeb57921916dc694b64ff342c93e1 (patch)
tree5381e9d929ae4d55bd435f7412f75db63732aa77 /weed/topology/allocate_volume.go
parenta3490b600cad88ced4ea9bf3672b8566f207f57f (diff)
downloadseaweedfs-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.go2
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(),