aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_merge_volumes.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_fs_merge_volumes.go')
-rw-r--r--weed/shell/command_fs_merge_volumes.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/weed/shell/command_fs_merge_volumes.go b/weed/shell/command_fs_merge_volumes.go
index b77feb8e3..eb401aab1 100644
--- a/weed/shell/command_fs_merge_volumes.go
+++ b/weed/shell/command_fs_merge_volumes.go
@@ -44,6 +44,10 @@ func (c *commandFsMergeVolumes) Help() string {
`
}
+func (c *commandFsMergeVolumes) HasTag(CommandTag) bool {
+ return false
+}
+
func (c *commandFsMergeVolumes) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
fsMergeVolumesCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
@@ -322,7 +326,7 @@ func moveChunk(chunk *filer_pb.FileChunk, toVolumeId needle.VolumeId, masterClie
if err != nil {
return err
}
-
+
_, err, _ = uploader.Upload(reader, &operation.UploadOption{
UploadUrl: uploadURL,
Filename: filename,