aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_copy.go
diff options
context:
space:
mode:
authorhilimd <68371223+hilimd@users.noreply.github.com>2021-10-27 09:42:23 +0800
committerGitHub <noreply@github.com>2021-10-27 09:42:23 +0800
commit6999325d3631f0e9f4fe4e081650dcf60a1293c5 (patch)
tree99082f145eeee921ae772d0c8601f97f40b7f074 /weed/shell/command_volume_copy.go
parentee90edd0e3746ae0f6046dd9e7362aeec821456c (diff)
parent3eeaffeadd9bcff0148d0b1c860ea4ff03e82904 (diff)
downloadseaweedfs-6999325d3631f0e9f4fe4e081650dcf60a1293c5.tar.xz
seaweedfs-6999325d3631f0e9f4fe4e081650dcf60a1293c5.zip
Merge pull request #84 from chrislusf/master
sync
Diffstat (limited to 'weed/shell/command_volume_copy.go')
-rw-r--r--weed/shell/command_volume_copy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_copy.go b/weed/shell/command_volume_copy.go
index 8d34acf8f..b4dfbb78a 100644
--- a/weed/shell/command_volume_copy.go
+++ b/weed/shell/command_volume_copy.go
@@ -53,6 +53,6 @@ func (c *commandVolumeCopy) Do(args []string, commandEnv *CommandEnv, writer io.
return fmt.Errorf("source and target volume servers are the same!")
}
- _, err = copyVolume(commandEnv.option.GrpcDialOption, volumeId, sourceVolumeServer, targetVolumeServer, "")
+ _, err = copyVolume(commandEnv.option.GrpcDialOption, writer, volumeId, sourceVolumeServer, targetVolumeServer, "")
return
}