aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny <kannychak@qq.com>2020-10-30 18:17:15 +0800
committerGitHub <noreply@github.com>2020-10-30 18:17:15 +0800
commit8a7f5eba995548de657ff82c5db8bd5b8f739c21 (patch)
treeed71d5d43557ccd4f89da2e660d953f048a820ee
parentc057dd1f6413ae95264d63782a21692a2088919c (diff)
parent9cc6575ab51ab29df5d45975451d8ef330d2df3f (diff)
downloadseaweedfs-8a7f5eba995548de657ff82c5db8bd5b8f739c21.tar.xz
seaweedfs-8a7f5eba995548de657ff82c5db8bd5b8f739c21.zip
Merge pull request #1 from alloneinfo/mymod
Update 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 2295faa8a..f2b1e963e 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -219,7 +219,7 @@ func genFileCopyTask(fileOrDir string, destPath string, fileCopyTaskChan chan Fi
fileCopyTaskChan <- FileCopyTask{
sourceLocation: fileOrDir,
- destinationUrlPath: destPath+fi.Name(),
+ destinationUrlPath: destPath,//+fi.Name(),
fileSize: fi.Size(),
fileMode: fi.Mode(),
uid: uid,