diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-02-09 23:58:08 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-02-09 23:58:08 -0800 |
| commit | 770393a48c7c70084ae2f1bc510b8504d3b14aa4 (patch) | |
| tree | 65f9b35c8be1ff211bcbb9d9f2d3864786b3ee5f /weed/shell/command_volume_copy.go | |
| parent | 2bf5ea87d6788fc1b82d36ffaed42ce0345b955e (diff) | |
| download | seaweedfs-770393a48c7c70084ae2f1bc510b8504d3b14aa4.tar.xz seaweedfs-770393a48c7c70084ae2f1bc510b8504d3b14aa4.zip | |
volume: add capability to change disk type when moving a volume
Diffstat (limited to 'weed/shell/command_volume_copy.go')
| -rw-r--r-- | weed/shell/command_volume_copy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_copy.go b/weed/shell/command_volume_copy.go index f9edf9431..85b4bb095 100644 --- a/weed/shell/command_volume_copy.go +++ b/weed/shell/command_volume_copy.go @@ -52,6 +52,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, volumeId, sourceVolumeServer, targetVolumeServer, "") return } |
