aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_fix_replication.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-04-20 11:35:20 -0700
committerChris Lu <chris.lu@gmail.com>2019-04-20 11:35:23 -0700
commit6fc1f53018685e6842c68883af67128fbc0bd522 (patch)
treed909cc811e9259a20d4c88f9cc1cd763fde55396 /weed/shell/command_volume_fix_replication.go
parent61720e6f75f4fccadff7f5fab7320b9c9237ae87 (diff)
downloadseaweedfs-6fc1f53018685e6842c68883af67128fbc0bd522.tar.xz
seaweedfs-6fc1f53018685e6842c68883af67128fbc0bd522.zip
shell: add command volume.move
Diffstat (limited to 'weed/shell/command_volume_fix_replication.go')
-rw-r--r--weed/shell/command_volume_fix_replication.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go
index cf424ccc6..cff4adf89 100644
--- a/weed/shell/command_volume_fix_replication.go
+++ b/weed/shell/command_volume_fix_replication.go
@@ -119,7 +119,6 @@ func (c *commandVolumeFixReplication) Do(args []string, commandEnv *commandEnv,
err := operation.WithVolumeServerClient(dst.dataNode.Id, commandEnv.option.GrpcDialOption, func(volumeServerClient volume_server_pb.VolumeServerClient) error {
_, replicateErr := volumeServerClient.VolumeCopy(ctx, &volume_server_pb.VolumeCopyRequest{
VolumeId: volumeInfo.Id,
- Collection: volumeInfo.Collection,
SourceDataNode: sourceNode.dataNode.Id,
})
return replicateErr