aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_copy.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-08-01 23:27:23 -0700
committerchrislu <chris.lu@gmail.com>2024-08-01 23:27:23 -0700
commitd49ecde535405653004e7201a63e24bc8e6cec11 (patch)
treea46197f8f06607a0167c76d64ba3bba70eab167b /weed/command/filer_copy.go
parent5ee50d26d8db9075b8041a170d8a3d5ff9a37a56 (diff)
downloadseaweedfs-d49ecde535405653004e7201a63e24bc8e6cec11.tar.xz
seaweedfs-d49ecde535405653004e7201a63e24bc8e6cec11.zip
rename functions
Diffstat (limited to 'weed/command/filer_copy.go')
-rw-r--r--weed/command/filer_copy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index 8f6cb233e..0342aa585 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -483,7 +483,7 @@ func (worker *FileCopyWorker) uploadFileInChunks(task FileCopyTask, f *os.File,
for _, chunk := range chunks {
fileIds = append(fileIds, chunk.FileId)
}
- operation.DeleteFiles(func(_ context.Context) pb.ServerAddress {
+ operation.DeleteFileIds(func(_ context.Context) pb.ServerAddress {
return pb.ServerAddress(copy.masters[0])
}, false, worker.options.grpcDialOption, fileIds)
return uploadError