From d49ecde535405653004e7201a63e24bc8e6cec11 Mon Sep 17 00:00:00 2001 From: chrislu Date: Thu, 1 Aug 2024 23:27:23 -0700 Subject: rename functions --- weed/command/filer_copy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'weed/command') 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 -- cgit v1.2.3