aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_copy.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-25 15:32:43 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-25 15:32:43 -0700
commitf375b93aefd8d7358df7ff5232d522a31bd15afb (patch)
tree63d4196b2c881fd808ec7cedf4414806b685dc21 /weed/command/filer_copy.go
parent596d476e3d858d2cb0520231f1da44804e7f2be1 (diff)
downloadseaweedfs-f375b93aefd8d7358df7ff5232d522a31bd15afb.tar.xz
seaweedfs-f375b93aefd8d7358df7ff5232d522a31bd15afb.zip
renaming
Diffstat (limited to 'weed/command/filer_copy.go')
-rw-r--r--weed/command/filer_copy.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index d9c5bc486..ffdf4e968 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -311,7 +311,7 @@ func (worker *FileCopyWorker) uploadFileAsOne(task FileCopyTask, f *os.File) err
Replication: *worker.options.replication,
Collection: *worker.options.collection,
TtlSec: worker.options.ttlSec,
- ParentPath: task.destinationUrlPath,
+ Path: task.destinationUrlPath,
}
assignResult, assignError = client.AssignVolume(context.Background(), request)
@@ -405,7 +405,7 @@ func (worker *FileCopyWorker) uploadFileInChunks(task FileCopyTask, f *os.File,
Replication: *worker.options.replication,
Collection: *worker.options.collection,
TtlSec: worker.options.ttlSec,
- ParentPath: task.destinationUrlPath,
+ Path: task.destinationUrlPath,
}
assignResult, assignError = client.AssignVolume(context.Background(), request)