aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_copy.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-18 11:16:45 -0700
committerChris Lu <chris.lu@gmail.com>2020-03-18 11:16:45 -0700
commitd848d089448372326edd9f8a20dbc9fc3c46f6dd (patch)
treea32646a31bff094dbbcbf5493ab82b680e6bdd4e /weed/command/filer_copy.go
parent6566c8e114f123a0b8b4a8aac8aae62a8dbc1f97 (diff)
downloadseaweedfs-d848d089448372326edd9f8a20dbc9fc3c46f6dd.tar.xz
seaweedfs-d848d089448372326edd9f8a20dbc9fc3c46f6dd.zip
use public url also for deletions
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 0aee8cd80..a8aea36bc 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -459,7 +459,7 @@ func (worker *FileCopyWorker) uploadFileInChunks(task FileCopyTask, f *os.File,
for _, chunk := range chunks {
fileIds = append(fileIds, chunk.FileId)
}
- operation.DeleteFiles(copy.masters[0], worker.options.grpcDialOption, fileIds)
+ operation.DeleteFiles(copy.masters[0], false, worker.options.grpcDialOption, fileIds)
return uploadError
}